问题描述
我将一个对象在3d空间中的位置存储在一个4by4变换矩阵中。
现在为了将对象从存储在矩阵A中的位置移动到存储在矩阵B中的位置,我想插入它们。
我只是通过在矩阵中插入16个值中的每一个来做到这一点,还是我必须特别注意某些事情?
谢谢!
请参阅Ken Shoemake和Tom Duff的。基本思想是将转换矩阵分解为有意义的组件,如拉伸,旋转和平移,然后插入这些。
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!
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.
这篇关于三维几何:如何内插矩阵的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!