I found the problem in the first part , actually when the saved animation
path is platyed , the animationPathManipulator uses ea.getTIme() rather than
ea.getTime()-firstTIme. firstTIme is the time when it actually started
playing the .path file :).
I overloaded the function and worked like charm :) . If anyone needs the
source code please mail me

On Nov 13, 2007 12:28 AM, maruti borker <[EMAIL PROTECTED]> wrote:

> I have developed an application which needs an auto-tour option .
> So what i thought was to use osgviewer to record the path and then play it
> using the saved_animation.path.
> So first i created that saved_animation.path and then i added a keyboard
> event , so that whenever i press 'a' the animation path is played by
> switching the loop option off . I thought this would solve the problem . But
> i am facing the following problems :-
>
> 1. It doesnt start from the beginning , it starts somewhere in between
> 2. I am not able to manipulate the scene after i play the path file .
>
> I used the implementation of -p in osgviwer to play the path file .
> To solve problem #1 i tried setting some options of
> osgGA::AnimationPathManipulator .
> Like settng the manipulator to home(0.0) and i also tried init .
> But still it starts and in the middle of the path :( . Any hack to change
> this ?
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to