Just two things I noticed:

- matrix::rotate uses radians (not degree) so use osg::DegreesToRadians()

- offsetting the projection matrix is a bit tricky (and I assume you didn't 
really want to do that). Probably you wanted something like this

addSlave( cam,
osg::Matrix::identity(),
osg::Matrix::rotate( osg::DegreesToRadians(xyz), 0,1,0 )

and set the master projection matrix such that it already fits.

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





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

Reply via email to