Yes, you were correct in that I was using degrees. I discovered it this morning 
and was to embarrassed to post a Doh!.


Mark A. Bolstad
Scientific Computing
Janelia Farm Research Campus
Howard Hughes Medical Institute
19700 Helix Drive, Ashburn, VA  20147
email: [email protected]
office: +1.571.209.4623
web: http://www.hhmi.org/janelia/






On Nov 16, 2010, at 11:20 AM, Fabian Recktenwald wrote:

> 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

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

Reply via email to