What should be contained in a game scene graph?

Posted by Bunkai.Satori on Game Development See other posts from Game Development or by Bunkai.Satori
Published on 2011-02-08T17:03:07Z Indexed on 2011/02/08 23:35 UTC
Read the original article Hit count: 469

Would you help me to clarify, please, what what exactly should be contained within a game scene graph? See the following list, please:

  • Game Actors? (obviously yes, all the objects changing state should be the major prart of the Scene Graph)
  • Simple static game ojbects? (I mean ojects places in the background that do not get animated, neither do they collide)
  • Game Triggers?
  • Game Lights?
  • Game Cameras?
  • Weapon Bullets?
  • Game Explosions and Special Effects?

The above considered object types. Now to the coverage of the scene graph:

  • Should a scene graph contain the whole game level map since the level start, or should it contain only the visible portion of the map? If the second is true, it would mean that scene graph would be continuously updated, by adding/removing game objects, as the player moves. However, containing only the visible are of the map obviously would be much faster to traverse and update.

© Game Development or respective owner

Related posts about game-design

Related posts about architecture