Jump to content
  • Advertisement
Sign in to follow this  
flecherouge

Shaking Quaternion interpolation

This topic is 2611 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=2] It's not shaking very strongly but enough to say that the animation is not perfect.

[size=2]is it a common problem?

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

[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?)

[/font]

Share this post


Link to post
Share on other sites
Advertisement
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

which impact is there for quaternions operations and matrices?


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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!