[osg-users] Manipulator to fly to target position?

Greg Danaha g.danaha at networkharbor.com
Thu Sep 17 14:30:13 PDT 2015


Hi,

I use osgEarth and the EarthManipulator has a setViewpoint() function with a duration value.  The camera flies to the viewpoint in a smooth motion over the specified time.  

I am also using individual models in my application and need similar functionality.  I am using TrackballManipulator and setting the target position using the setTransformation() method.  Is there a manipulator (or a way to enable on TrackballManipulator) 'fly to' functionality as with the EarthManipulator?  (I considered using EarthManipulator, but my models are not all geo-referenced and EarthManipulator requires geo-referenced coordinates.  I can create my own manipulator using EarthManipulator as a model, but don't want to re-invent the wheel if there is a way to do this.)

... 

Thank you!

Cheers,
Greg

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65152#65152








More information about the osg-users mailing list