www.jpct.net
jPCT - a 3d engine for Java => Support => Topic started by: AGP 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?).
-
I'm not sure. Is this question just about how to store them or about how to render them?
-
Storing. I have to be able to identify them at runtime in order to attach dynamically-created things like hair or capes.
-
I guess I would Just extend Object3D then and add them as extra attributes.