Hi Oren,

I already developed something for LG Optimus 3D and the DisplaySetting
worked as expected. Maybe you need assign the DisplaySettings to the Viewer
if it's already realized.

Some days ago I released osgAndroid (https://gitorious.org/osgandroid) to
make life easier for android developers and OSG. I made use of the
DisplaySettings class in osgAndroid for my project in the LG Optimus 3D.
The usage will be something like:

// osgAndroid Java Code:
DisplaySettings ds = new DisplaySettings();
ds.setStereoMode(DisplaySettings.StereoMode.HORIZONTAL_SPLIT);
ds.setStereo(true);
ds.setEyeSeparation(0.056f);
viewer.setDisplaySettings(ds);

Anyway, if you code something similar in C++ it should work.

Rafa.

2012/9/7 Oren Fromberg <[email protected]>

> 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
>



-- 
Rafael Gaitán Linares
CTO at Mirage Technologies S.L - http://www.mirage-tech.com
gvSIG3D Developer - http://gvsig3d.blogspot.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to