3d geometry: how to interpolate a matrix

clamp picture clamp · Jun 22, 2010 · Viewed 18.8k times · Source

i store the position of an object in 3d space in a 4by4 transformation matrix. now in order to move the object from the position stored in matrix A to the position stored in matrix B, i would like to interpolate them.

so do i just do this by interpolating each of the 16 values in the matrix, or do i have to take special care about something?

thanks!

Answer

brainjam picture brainjam · Jun 24, 2010

Check out Ken Shoemake and Tom Duff's Matrix Animation and Polar Decomposition . The basic idea is to break down transformation matrices into meaningful components like stretch, rotation, and translation, and then to interpolate those.