Sign in to follow this  

Shaking Quaternion interpolation

This topic is 2431 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color=#333333][font=Arial, Helvetica, sans-serif][size=2]I have an animation on a model but some parts of the mesh are shaking a bit during the interpolation between frames.[/size]

[size=2] It's not shaking very strongly but enough to say that the animation is not perfect. [/size]

[size=2]is it a common problem?[/size]

[size=2](i use a fromMatrix method to convert matrix to a quaternion ,the slerp method for interpolation and[/size]

[size=2]a quaternion2matrix method to convert back to the final matrix and i'm sure that all theses formules are right so is there a case i didnt noticed?) [/size]

[/font][/color]

Share this post


Link to post
Share on other sites
in fact i think it's a problem of axe orientations
i mean my bones are all oriented in the local axes ZYX and not XYZ
which impact is there for quaternions operations and matrices?


Share this post


Link to post
Share on other sites
[quote name='flecherouge' timestamp='1306037059' post='4814106']
which impact is there for quaternions operations and matrices?
[/quote]

None.

I'd imagine it's your data that's screwed. That, or as you say, your matrix->quat->matrix conversions (which I must say is pretty lame to begin with. Much better just to store quats). However without having the ability to guess what your source code looks like, it's pretty much impossible to guess what the problem is I'm afraid....

Share this post


Link to post
Share on other sites
Sign in to follow this