The osgGA manipulator framework makes controlling the camera from the main loop non-intuitive.   There are a couple of chioces for doing this.

The good news is that there is a built-in AnimationPathManipulator.  Normally you can invoke this by using the -p command line option.  When a valid animation path is specified on the command line, the AnimationPath manipulator is loaded automatically. 

If you want to manage animation paths, however, you'll need to query the viewer's KeySwitchManipulator to get the AnimationPathManipulator then set the path on it directly.


-don

On 10/19/06, Brad Colbert <[EMAIL PROTECTED]> wrote:
This question goes out to the group.

I'm trying to use the setAnimationPath method of the osgProducer::Viewer
class but it looks like my mouse is overriding my animation path.  Are
there any examples out there that someone can share on how to use this?
If not, does anyone have any tips on what to enable/disable, etc.

Thanks,
Brad

---
Renaissance Sciences Corporation
O/M: 480 290-3997
F:   425 675-8044

_______________________________________________
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/

Reply via email to