Hi, It sounds like what you want to use is: setViewMatrixAsLookAt(eye, center, up)
where eye is a Vec3 for where the camera is located, center is the point the camera is looking at, and up is the camera's up unit vector. viewer.getCamera()->setViewMatrixAsLookAt(osg::Vec3(x_camera, y_camera, z_camera), osg::Vec3(0., 0., 0.), osg::Vec3(0., 0., 1.)); for example. Cheers, Tom ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30011#30011 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

