perandersson / playstate

PlayState
2 stars 0 forks source link

Add component support for scene groups. #4

Closed perandersson closed 11 years ago

perandersson commented 11 years ago

This is to support functionality such as self-removal when a SceneGroup isn't visible. This gives us also support for when an object is entering a specific scene group area, which also might be useful.

perandersson commented 11 years ago
perandersson commented 11 years ago
perandersson commented 11 years ago

Decided to make the SceneGroup into a SceneNode using inheritance. Things to think about:

  1. Take position into account when handling the render processor (be able to move the entire octree if necessary).
  2. Streamline when adding child nodes.