scenegraph

Game engines: What are scene graphs?

寵の児 提交于 2019-11-28 16:01:03
问题 I've started reading into the material on Wikipedia, but I still feel like I don't really understand how a scene graph works and how it can provide benefits for a game. What is a scene graph in the game engine development context? Why would I want to implement one for my 2D game engine? Does the usage of a scene graph stand as an alternative to a classic entity system with a linear entity manager? 回答1: What is a scene graph? A Scene graph contains all of the geometry of a particular scene.