Scene Graph as Object Container?

Posted by Bunkai.Satori on Game Development See other posts from Game Development or by Bunkai.Satori
Published on 2011-02-06T21:15:40Z Indexed on 2011/02/06 23:36 UTC
Read the original article Hit count: 366

Filed under:
|

Scene graph contains game nodes representing game objects. At a first glance, it might seem practical to use Scene Graph as physical container for in game objects, instead of std::vector<> for example.

My question is, is it practical to use Scene Graph to contain the game objects, or should it be used only to define scene objects/nodes linkages, while keepig the objects stored in separate container, such as std::vector<>?

© Game Development or respective owner

Related posts about architecture

Related posts about scene-graph