Jump to content
  • Advertisement

Archived

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

ericsk

How to build a scene graph?

This topic is 5535 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!