Hi Dat,

El Jueves 23 Abril 2009ES 16:39:36 tien dat escribió:
> Dear all,
> I have a little problem with stereo display. When I run osgviewer with
> "--stereo HORIZONTAL_SPLIT" and the cow.osg, it looks great. But when
> I try to run osgviewer with my own model, it
> looks weird. It seems that the eye separation is too far (although I'm
> not sure). I try to change to eye position but it doesn't help. Could
> any of you know how to fix that problem?

Depending on the size of your model and your viewpoint, the default stereo 
settings could break the 3D illusion. You must specify the actual size of 
your system to have correct OSG stereo rendering. I for example, use the 
following environment variables with my wall to define the real view frustum:

OSG_SCREEN_DISTANCE=2.20 OSG_SCREEN_HEIGHT=1.50 OSG_SCREEN_WIDTH=1.90 
OSG_STEREO=ON OSG_STEREO_MODE=HORIZONTAL_SPLIT

Regards,

Alberto
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to