open all | close all

Inverse Matrix

逆矩阵

Preview 预览Basic 基础Inputs 投入Outputs 产出

Inverse Matrix

逆矩阵

Inverting a matrix lets global vectors be converted to local vectors. 逆矩阵可以将全局向量转换为局部向量

A matrix not only supplies an object’s size and position in space but can, for example, also be used to define the position of the polygon points on the object. These point coordinates will generally be saved using local coordinates. A multiplication of such point positions with an object’s matrix calculates the point’s position relative to the world coordinate system.

矩阵不仅可以提供物体在空间中的大小和位置,还可以用来定义物体上多边形点的位置。这些点坐标通常使用局部坐标保存。一个点的位置乘以一个物体的矩阵计算点的位置相对于世界的坐标系。

If you want to do the calculation in reverse, i.e., convert a global position to a local position within a given object, the object matrix must be inverted prior to the multiplication with the global point position. This is exactly what this Node does.

如果你想反过来进行计算,也就是说,将一个全局位置转换为一个给定对象中的一个局部位置,那么对象矩阵必须在与全局点位置的乘法运算之前进行反转。这正是这个 Node 所做的。