Hi Dženan, On 30/08/10 20:35 , Dženan Zuki wrote: > mainForm.vis->setSceneData(my_object); > osg::Vec3 achse(0.1, 0.2, 0.974); > osg::Matrixd myRotationMatrix; > myRotationMatrix.makeRotate(osg::DegreesToRadians(2.0f), achse); > mainForm.vis->getCameraManipulator()->setByMatrix(mainForm.vis->getCameraManipulator()->getMatrix() > * myRotationMatrix);
If you're using a camera manipulator it might be overwriting the matrix you're setting with its own values. Remove the camera manipulator and set the camera view matrix instead and it should be fine. /ulrich _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

