• Advertisement
Sign in to follow this  

Scene Graph or Scene Graphes

This topic is 4754 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

Advertisement
I think it's best to have a single scene graph of objects, which each have properties for your graphics and sounds (and physical properties, transforms, etc.) and use something like the Visitor pattern to let different devices (graphics, audio) traverse the scene graph in the way most appropriate for that device.

But, you could design it differently, ... it's really all about what you're most comfortable working with when it's done, since you're going to have to work with whatever design you choose.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement