Hi Oren, The env vars just provide the default settings from DisplaySettings so setting them programmatically will achieve the same end.
As to why it's not working on your phone I can't say as I know nothing about the specifics of the phone or what you are seeing on screen or what the phone is expecting when it's a 3D mode. My expectation is that you'd need a program call to tell the phone to do stereo as the OSG itself won't know about this, it only knows that it needs to set up stereo at the graphics window levels. Robert. On 7 September 2012 16:54, Oren Fromberg <[email protected]> wrote: > well, I stepped through the code in DisplaySettings.cpp and setting those > environment variables does the exact same thing as the function calls. > > also, I am not sure how to set environment variables in android so I don't > know how to test it. > > I want to understand how the rendering changes at the low level when display > settings have stereo enabled. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49856#49856 > > > > > > _______________________________________________ > 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

