Original Post
I am having a really hard time visualizing the difference between a scenegraph and a spatial structure. I know that a scenegraph is supposed to be the logic heirarchy of the scene, and the spatial tree is supposed to be the spatial hierarchy, but lets think about that. First of all, is a scenegraph really a graph or a tree? That name has always confused me, as almost all implementations use a tree. Second of all, I already have separated the rendering from the tree with a renderqueue. It's still pretty much a scenegraph, but the ability to easily form a modelview matrix from something else than its parents' is there. But I'm finding that a logic-based tree is very close if not exactly like the spatial hierachy. Say I have a world with a character. He has a backpack on that has a flashlight attached to it. The logical hierarchy would be person -> backpack -> flashlight, just as the spatial hierarchy. I'm sure that I'm not thinking correctly of scenes. Can anyone give me a clear example that shows the split between a scenegraph and spatial tree?