Hi Robert, I calculate the angle in one axis between the view matrix of the actual frame and the frame before. After that I set the viewmatrix about that angle back. Everything works but the geometries are flickering. Is this the wrong way to do this? Thanks Sascha
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Osfield Sent: Friday, February 02, 2007 11:45 AM To: osg users Subject: Re: [osg-users] Disable rotaten axis of the viewer Hi Sascha, On 2/2/07, Sascha Kuhn <[EMAIL PROTECTED]> wrote: > I want to disable some rotaten axis of the camera. So that I can rotation > maybe in only one or two axis with the mouse. > I handle with the viewer matrix to set the view, is there a easier way to > disable this rotaten axis? The osgGA camera manipulators don't provide a wide range of controls of how they behavior. If you want custom behavior then simply write your own manipulator or simply set the main camera's view matrix per frame. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
