Jump to content

Interpolating Transformation Matrix Non Linear


Drughi

Recommended Posts

Just in case someone want's to do something similar. I've ended up just using the spline function. Instead of a matrix I've choose quaternions and the position vector wich gave me quite acurate results.

Edited by Drughi
Link to comment
Share on other sites

There's no reliable way to slerp matrices as far as I know, typically people will convert the rotation to quaternion then slerp.  You can then store the result as a matrix by converting from quaternion back to matrix.

 

This example shows a lerp of the translates, scales and slerp of rotations with the result converted back to matrix.

image (1).png

Edited by jkunz07
  • Like 3
Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...