Sign in to follow this  
flecherouge

Shaking Quaternion interpolation

Recommended Posts

flecherouge    100
[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
flecherouge    100
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
RobTheBloke    2553
[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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this