Author Topic: Special Vertices  (Read 2284 times)

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Special Vertices
« on: December 23, 2016, 01:40:26 pm »
I'm taking the opportunity, as I finish my JSON-serialized format, to make special vertices (I'm thinking of three types at the moment, "regular," "hair," and "cloth" from which I might hang a runtime-generated cape). Where do you recommend I store this information (what might I subclass? Object3D? PolygonManager? SimpleVector?).

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Special Vertices
« Reply #1 on: December 23, 2016, 06:52:07 pm »
I'm not sure. Is this question just about how to store them or about how to render them?

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Special Vertices
« Reply #2 on: December 24, 2016, 07:02:44 pm »
Storing. I have to be able to identify them at runtime in order to attach dynamically-created things like hair or capes.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Special Vertices
« Reply #3 on: December 25, 2016, 12:21:46 pm »
I guess I would Just extend Object3D then and add them as extra attributes.