Article : Creating A Scene-Graph in XNA
Conclusion
Summary
A scene-graph can help simplify and organize game code. It provides a central location for activities related to manipulating and displaying a scene. Additionally, by providing reusable objects that may be expanded upon, results may be achieved with a minimal amount of code.
Further Study
Additional scene nodes and controllers may be created to enhance the scene-graph. The attached project includes the source code presented here and contains additional scene nodes and controllers.
Known Limitations
Checks to ensure the scene tree does not loop back on itself are not performed in this sample. Setting a scene node as a child of itself or similar will cause a stack overflow during recursion.
The code presented is written for clarity and, therefore, is not optimized for performance.
Acknowledgments
Special thanks to #xna on EFNet for their help and support.
Earth and Moon textures derived from Celestia Motherlode.
Space background texture derived from image provided by NASA.
'Sat4' satellite model available on Turbo Squid.

February 24th, 2010 - 14:32
This is extremely useful, thank you.