[BUG] OgreSimpleSpline and OgreRotationalSpline behaviour

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
User avatar
0xC0DEFACE
OGRE Expert User
OGRE Expert User
Posts: 84
Joined: Thu May 21, 2009 4:55 am
x 7

[BUG] OgreSimpleSpline and OgreRotationalSpline behaviour

Post by 0xC0DEFACE »

Hi.

After upgrading to Ogre 1.8.0 I noticed many of my existing camera paths using OgreNodeTrackAnimation where broken. The problem is only occurring when frame times are not 1 second apart. After diffing my old ogre (1.7.1) with 1.8.0 I saw that there were some changes made to OgreRotationalSpline and OgreSimpleSpline that remove times from them. The times were used to adjust the tangents so that velocities and paths remained smooth and consistent with varying frame times. This is now broken.

These changes where not mentioned in the change log which makes me think this may be a mistake.

Also I tried to look at the history for the files in question, and mercurial doesn't have any history of it, so I also can't find the commit message for the change, which may help explain why this happened. Reverting these 4 files fixes the issue for me.

Could this be fixed for a future release?

Thanks!