Hi all,

has anyone successfully changed the default coordinate system of the new (svn) osg manipulators?

I just want the camera to start up in the default OpenGL coordinate frame: y-up, x-right, -z-forward.

I've been trying to set a CoordinateFrameCallback on trackball.

Firstly, it seems that viewer.setCameraManipulator overwrites my setting. So I attached my callback after I set it on the viewer, but then my callback never gets called.

If I call setVerticalAxisFixed(true) on the trackball, my callback gets called, but I get all sorts of flipping going on and it does not seem to affect the home position in any way (when space is pressed).

Any help appreciated.

jp

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to