open all | close all

Compose Matrix

撰写矩阵

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

Compose Matrix

撰写矩阵

An object’s matrix is made up of four vectors. The first vector is relatively easy to define since it’s simply the object’s position. The next vectors define the direction of the three spatial axes of the object axis system. Here, certain rules have to be followed, e.g., that these vectors must each lie perpendicular to one another. The length of the directional vectors also plays a role because this is identical to the object’s size in the respective direction.

一个物体的矩阵由四个向量组成。第一个矢量比较容易定义,因为它只是对象的位置。接下来的向量定义了目标轴系统的三个空间轴的方向。在这里,必须遵循某些规则,例如,这些向量必须彼此垂直。方向向量的长度也起作用,因为这与物体在各自方向上的大小相同。

To simplify the creation of a matrix, this Node offers settings with which the desired scaling and rotation of the object can be defined directly. This means that you don’t have to calculate the three values yourself.

为了简化矩阵的创建,这个 Node 提供了可以直接定义对象的期望缩放和旋转的设置。这意味着你不必自己计算这三个值。