vancegroup / vr-jugglua

VR JuggLua: A Framework for VR Applications Combining Lua, OpenSceneGraph, and VR Juggler
Boost Software License 1.0
11 stars 12 forks source link

Easier method to get at "root" state set #97

Closed carlsonp closed 11 years ago

carlsonp commented 12 years ago

For setting lighting that applies to both relativeto.world and relativeto.room - the workaround of osgnav.appProxy:getScene() to get that root node is icky and exposes too much internal implementation. I'd almost suggest setting a global called global_state_set right off the bat.

rpavlik commented 11 years ago

GlobalStateSet is now set in the nav app skeleton as of 99a98cd5e65dd74120896c1aac6780b6d11017f4.