Hi!
I’m rather new to Java3D, and I was wondering what the apropriate way to include multiple objects in a scene is.
Right now, I’m loading Shape3Ds for each of my entities and attaching them to a SimpleUniverse directly by means of BranchGroups (no hierachy). The entities are all represented by the same mesh, but each one loads a copy of the same mesh data, which isn’t exactly a great thing. When I need them out of the scene, I detach their BranchGroup linkages.
While reading through the forum, I realise these practices are definitely not right.
I was wondering if i could store the geometry just once, then reference the mesh data each time I draw a copy of the mesh on screen?
thanks in advance for the help!