3d 几何:如何插入矩阵 [英] 3d geometry: how to interpolate a matrix

查看:26
本文介绍了3d 几何:如何插入矩阵的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将对象在 3d 空间中的位置存储在 4by4 变换矩阵中.现在为了将对象从存储在矩阵 A 中的位置移动到存储在矩阵 B 中的位置,我想对它们进行插值.

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.

那么我是通过对矩阵中的 16 个值中的每一个进行插值来做到这一点,还是我必须特别注意某些事情?

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?

谢谢!

推荐答案

查看 Ken Shoemake 和 Tom Duff 的 矩阵动画和极坐标分解.基本思想是将变换矩阵分解为有意义的分量,如拉伸、旋转和平移,然后对它们进行插值.

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.

这篇关于3d 几何:如何插入矩阵的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆