Hi, I am trying to allow the user to configure which axis is up if they are using a fixed vertical axis, so I wanted to create a CoordinateFrameCallback. I saw that CameraManipulator just returns a default osg::Matrixd if no callback is set. So my callback did this first just to test and things worked just as expected. After that I tried returning a matrix by using the static lookAt method: osg::CoordinateFrame::lookAt(position, osg::Vec3d(0,0,0), osg::Vec3d(0,1,0));
But now all that does is let the view rotate "around" the y-axis and up is still Z. My guess is that I'm missing the point of the coordinate frame here and it's not as simple as just telling the manipulator the axis of the world-up. If anyone could help me understand this I would be grateful. Thank you! Cheers, Chip ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30963#30963 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

