MasDennis/Rajawali — pull request #651 by jwoolston (2013-05-02 22:13:06+00:00)
Title: Introducing RajawaliScene!

### The Addition
As part of the development of scene graphs (#535), I have added two major features which I feel are mature enough to be brought into the master branch for people to start looking at and using to flush out some bugs. These features are:

- A task queue: Adding/Removing/Replacing objects such as Animations, Cameras, Children, and Plugins are now asynchronously thread safe and managed by the render thread.
- A new class, `RajawaliScene` has been added. This class is now responsible for handling the render calls and addition, removal and replacement of things like Animations, Cameras, Children, Plugins and eventually Lights.
- `RajawaliRenderer` is now responsible only for managing scenes and and OpenGL context.
- Helper methods exist and a default scene is initialized automatically for you so you can continue using addChild() and similar calls directly in `RajawaliRenderer.initScene()` if your needs are simple or you don't want to do much code changing.

##Caveats

- The scene will eventually contain a scene graph and currently has incomplete support for it so I advise against trying to use a graph, but a brute force scene works great.
- The FBX import example does not work yet.
- Currently, enabling fog turns it on for all cameras in all scenes.
- `IPostProcessingFilter` does not work, nor is it even supported by `RajawaliRenderer`.