I solved the problem with the following code:
Code:
osg::Vec3 achse(0.0, 0.0, 0.0);
osg::Matrixd myRotationMatrix;
//myRotationMatrix.makeRotate(osg::DegreesToRadians(2.0f),
achse);
myRotationMatrix.makeTranslate(0.0,20.0,0.0);
viewer.getCameraManipulator()->setByMatrix(viewer.getCameraManipulator()->getMatrix()
* myRotationMatrix);
thanks anyway
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32210#32210
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org