HI Till,

The DisplaySettings::ScreenDistance value is used as hint to set up of
the eye offset (in world coordinates) to use when wants to scale the
model so that the center is at the image plane, this is done with the
trackball/terrain camera manipulator so that when you zoom in/out the
stereo scaling scales with the distance of the eye from the center of
rotation.   However, the drive and flight camera manipulators don't
scale eye offset, instead keeping the eye offset in constant so that
the stereo effect behaves as it does in the real world.

A negative ScreenDistance is just plain wrong and you'll get an
inversion of the eye offsets, i.e. your left and right eyes will be
swapped in position.

Robert.

On 18 September 2012 17:06, Till Becker <[email protected]> wrote:
> Dear osg-users,
>
> we are working here on a self made stereoskop, similar to the Wheatstone type.
>
> Realizing that there are only disparities behind the screen plane, we
> started playing with the screen distance value. Interestingly, when
> using a screen distance of e.g. -10.0, objects also reach out of the
> screen plane. Can someone please hint me on how to understand better
> what is happening with the screen distance value, what it is used for
> and what happens when I use a negative screen distance value?
>
>
> Thanks a lot in advance,
> Till
> _______________________________________________
> 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

Reply via email to