Hi I know for sure it does work if you set it with env variables (like OSG_STEREO=ON OSG_STEREO_MODE=HORIZONTAL_SPLIT), didn't used to set it up in code.
Cheers. 07.09.2012, 18:56, "Oren Fromberg" <[email protected]>: > I am trying to enable stereoscopic rendering in the osg display settings in > order to use the stereoscopic display on the LG optimus. The LG Real3D API > expects the framebuffer to be split horizontally so I am enabling stereo > rendering like this: > > Code: > osg::DisplaySettings::instance()->setStereo(true); > osg::DisplaySettings::instance()->setStereoMode(osg::DisplaySettings::HORIZONTAL_SPLIT); > > but it doesn't seem to be working. > > What could be the reason for it not working? > > Are there any caveats to using the DisplaySettings to enable stereo at a low > level? > > Should I go the way of using two slave cameras and render in two separate > viewports in the framebuffer? > > thanks! > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49848#49848 > > _______________________________________________ > 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

