Hi Maxim,

I'm not the author of osgAnimation so have to be cautious when reviewing
changes - I have to work out the intent of the original code and then look
at contributors changes things.   I have done a first pass review of your
changes but am hesitant to apply the changes as is, as I need to think
further about the issue and reflect on some other changes that contributors
are propose that affect the Animation class - these two submissions may
both need to tackled together.

Could you explain the motivation behind needing a ONCE_REVERSE.  Is there a
reason why the animation isn't just set up to go in the original
direction?

I also wonder whether a direction or speed parameter might be a better
route to go, so that all the looping etc. methods can work whatever
direction you want to push the animation in.

Thoughts?
Robert.


On 13 October 2014 14:19, Maxim Kuzmin <[email protected]> wrote:

> Hi,
>
> Unfortunately, I didn't find the way to play animation in reverse mode, so
> I added such feature directly to OSG.
>
> To be exact, two features were added:
> 1. New animation mode - ONCE_REVERSE, that plays animation in reverse mode
> one time.
> 2. "Overturn" allows user to overturn animation playback "on the fly",
> i.e. to reverse the playback of already playing animation.
>
> This features work good in my project, but I'm new to OSG, so I suppose
> that they can cause some unforeseen bugs.
>
> I'm using OSG ver. 3.2.1, last stable release.
>
> Cheers,
> Maxim
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=61284#61284
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/animation_src_203.zip
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to