[osg-users] switching between multiple sub-scenes, with different manipulators

Roozbeh Sharlune roozbeh.fazl at gmail.com
Sat Jul 16 05:59:10 PDT 2016


Hi all,

I have (virtually) independent scene graphs in my application and I want to switch between them. Each sub-scene has its own manipulator, camera, ... although some stuff can be common too. 
The obvious way to do it, to best of my understanding, is to use different osgViewer::View s for each scene and add them to an osgViewer::CompositeViewer and then switch between these views. BUT, this makes problems with multi-threading and Qt5.
Is there another solution? The bottle neck here I think is that I have to set manipulators for views. If I could do it differently, e.g. to cameras, it could work. Wishful thinking of course :D

Thank you!

Have fun,
Roozbeh

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68150#68150








More information about the osg-users mailing list