Here are the two cfg files I'm using for the two applications:

Camera "Left Camera"
{
        RenderSurface "Default"
        {
                Visual { SetSimple }
                Screen 1;
                WindowRect 0 20 640 400;
                Border off;
        }

        ProjectionRectangle 0 1 0 1;

        Lens
        {
                Frustum -0.249328 0.249328 -0.153915 0.153915 1 40000;
        }
        Offset
        {
                Rotate 28.0 0 1 0;
        }
}

Camera "Right Camera"
{
        RenderSurface "Default"
        {
                Visual { SetSimple }
                Screen 1;
                WindowRect 640 20 1280 400;
                Border off;
        }

        ProjectionRectangle 0 1 0 1;

        Lens
        {
                Frustum -0.531709 0.531709 -0.153915 0.153915 1 40000;
        }
        Offset
        {
                Rotate -14 0 1 0;
        }
}

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67661#67661





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to