Re: [osg-users] Camera and Animation Path

2011-11-29 Thread Robert Osfield
Hi Paul,

osgGA::AnimationPathManipulator is pretty simply to use and it's setup
is illustrated in applications/osgviewer/osgviewer.cpp, just search
for AnimationPathManipualtor.

Robert.

On 21 November 2011 15:15, Paul Leopard paul.leop...@gmail.com wrote:
 Hi,

 Has anyone found any good example code for attaching the camera to an 
 animation path? Unfortunately all of the example code I have found is very 
 dated and due to a deadline I am unable to go back and learn Producer and 
 then how to port it to osgGA. I'm trying to find some example code so I can 
 quickly achieve the animation ... any example code would be greatly 
 appreciated.

 I have a trajectory of a missile that I have animated with an animation path 
 and all works well. Now I need to put the camera on the head of the missile 
 and orient it according to the direction the missile seeker is pointing.

 Thank you!

 Cheers,
 Paul

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





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


[osg-users] Camera and Animation Path

2011-11-21 Thread Paul Leopard
Hi,

Has anyone found any good example code for attaching the camera to an animation 
path? Unfortunately all of the example code I have found is very dated and due 
to a deadline I am unable to go back and learn Producer and then how to port it 
to osgGA. I'm trying to find some example code so I can quickly achieve the 
animation ... any example code would be greatly appreciated.

I have a trajectory of a missile that I have animated with an animation path 
and all works well. Now I need to put the camera on the head of the missile and 
orient it according to the direction the missile seeker is pointing. 

Thank you!

Cheers,
Paul

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





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