Skip to main content
gamedev.net
๐Ÿ”’ Locked

Spherical interpolation

Started by ludo8x Jul 20, 2003 at 10:14 AM 0 replies 800+ views
Original Post
ludo8x
ludo8x
I''m trying to interpolate beetwen two matrix. There isn''t a directx function that can do it for me ? I found the D3DXQuaternionSlerp that can make a spherical interpolation beetwen two quaternion, but i hope that by doing this i will only have interpolated the rotation, and not the translation. How can i do ??
JuNC
JuNC
There is no general way to interpolate between matrices. Your best course is probably to split the matrix into rotation and translation components and interpolate them separately (e.g. with a quaternion slerp and a linear interpolation on the translation).

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.