sirikata/sirikata — Issue #460: Add simple environment controls to space and use them on object host
Author: ewencp
Created: 2011-12-15 02:54:22+00:00
State: open

Add a simple environment class to the space which just holds the current settings, accepts subscriptions, and updates clients on the current state. A skybox texture and ambient sound are good starting points although we should probably just provide a generic string -> string map to make it flexible/extensible.

Clients should also be able to use this information. The sound should be a simple use of the sound API. We have some cubemap support in Ogre, but it might need some updating since it hasn't been used in a long time. More generally, the API should probably just allow other components to subscribe and get callbacks when changes occur.