Hi Andreas, It can work as a runtime switch of stereo mode. The SceneView will check the getStereo() method every cull() and draw() to see if it should use stereo parameters to render the scene. In that case you won't have to reallocate the graphics context all the time. I've already done the same work before. :)
Wang Rui 2010/8/24 Andreas Roth <[email protected]>: > I'm afraid it's a bit more complicated than your suggested line. > > > Wang Rui wrote: >> >> >> osg::DisplaySettings::instance()->setStereo( true ); >> > > > I want to enable/disable stereo mode during the runtime of my application. > The line above only changes the display settings for the next graphic context > to be created, but it does not change anything on my existing GC. > > Regards, > Andreas > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=31012#31012 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

