From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield
Sent: Tuesday, May 16, 2006 1:43 PM
To: osg users
Subject: Re: [osg-users] Application camera control?
Ok, thanks for the tip. I'm still not sure if the manipulator is where this sort of capability should go - what's really important to me is the idea of setting the camera on a course to a destination (probably as a result of selecting some object of interest), while still using a manipulator to navigate with the mouse. If there is an easy or preferred way to do this, I'm very interested in learning it. Is writing a new manipulator the way to go?
You can just set the view matrix in the main loop if you wish, the osgGA manipulators are just there if you need them. As what is the ideal way to go I can't say, there are plenty of ways of skinning a cat, depending on what you do, and the rest of the application will dicatate whcih is best for you.
Robert.
I
actually tried calling the camera's functions directly to set
its position and orientation, and I did not see the view change at all. My
guess is that the manipulator is calling the camera's methods and effectively
overwriting the changes. Since I still want the manipulator, am I right in
thinking that I need to either write a new manipulator or remove the manipulator
while the application-initiated camera movement is
happening?
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
