Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

3d geometry: how to interpolate a matrix

Tags:

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!

like image 902
clamp Avatar asked Jun 22 '10 13:06

clamp


1 Answers

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.

like image 95
brainjam Avatar answered Jan 01 '23 03:01

brainjam