Archived

This topic is now archived and is closed to further replies.

ericsk

How to build a scene graph?

Recommended Posts

ericsk    122
Hi all, How do I build a scene graph from a mesh file? Is there any articles or pages for reference? Eric L.C. Shang-kuan

Share this post


Link to post
Share on other sites
ctoan    122
Well, first off, a scene graph for a mesh? I can only assume you mean like Torso -> Arm -> Hand -> Fingers, etc etc? Well anyway, you''d have to know what was the Arm, Torso, Hand, and all that. Therefore, you''d probably have to have some method of tagging each object (perhaps in the modeler?) or if each has a different material/texture, you could construct a scene graph by that method. But it''s pretty much, make a SceneNode object for the Torso, and Add a SceneNode child object RightArm to the Torso object, etc etc.

Chris Pergrossi
< ctoan >
My Realm

Share this post


Link to post
Share on other sites