open all | close all

Convert Vertex Map

转换顶点映射

Converting Vertex Colors to Vertex Maps and vice-versa (alpha not included here). 将顶点颜色转换为顶点映射,反之亦然(这里不包括 alpha)

Using this command, one Vertex Map tag (or up to four) can be converted to a Vertex Color tag. Converting the other way around is also possible whereby a Vertex Color tag can be converted to up to four Vertex Map tags (named R, G and B and A). Why four? Well, a Vertex Color tag can have 3-4 ,channels’: R (red), G (green), B (blue) and A (alpha). A Vertex Map tag on the other hand contains only a single channel.

使用此命令,可以将一个顶点映射标记(最多个)转换为顶点颜色标记。转换其他方式也是可能的,即顶点颜色标记可以转换为多达四个顶点地图标记(命名为 r,g 和 b 和 a)。为什么是四个?一个顶点颜色标签可以有3-4个通道: r (红色) ,g (绿色) ,b (蓝色)和 a (alpha)。另一方面,顶点映射标记只包含一个通道。

When importing scenes from foreign formats, it can occur that colors arrive in the form of 3 Vertex Maps. In such cases, this command can be used to convert them.

当从外部格式导入场景时,可能会出现颜色以3个顶点映射的形式到达。在这种情况下,可以使用这个命令来转换它们。

Convert

转换

Use this setting to define what should be converted:

使用此设置来定义应该转换的内容:

  • To Vertex Color 顶点颜色: Vertex Map tag -> Vertex Color tag : 顶点映射标签-> 顶点颜色标签
  • To Vertex Map 到顶点映射: Vertex Color tag -> Vertex Map tag : 顶点颜色标签-> 顶点映射标签
  • Fill Vertex Color 填充顶点颜色: Vertex Map tag grayscale -> colored Vertex Color tag : 顶点地图标记灰度-> 有色顶点颜色标记

The Fill Vertex Color mode uses a defined Color to color a Vertex Map (the tag must be dragged into the field of the same name). This makes it possible, for example, to create a red gradient from a grayscale gradient (or a blue tone as in the image above). The result is always a Vertex Color tag. The other settings work as described above.

“填充顶点颜色”模式使用定义的“颜色”为顶点映射着色(标签必须拖动到相同名称的字段中)。例如,这使得从灰度梯度(或上图中的蓝色色调)创建红色梯度成为可能。结果始终是一个顶点颜色标记。其他的设置工作如上所述。

Source and Target Settings
Invert

源和目标设置 sinvert

Depending on what you want to convert, you will find either 1 Source and 4 Target or 4 Source and 1 Target field (Fill Vertex Color is slightly different and is described below). At least one of the Source fields must always be filled because these are the input tags. If you want to modify existing tags, drag these into the respective Target field.

根据您想要转换的内容,您将找到1个源和4个目标或4个源和1个目标字段(填充顶点颜色略有不同,如下所述)。必须总是填充至少一个 Source 字段,因为这些字段是输入标记。如果要修改现有标记,请将这些标记拖动到相应的 Target 字段中。

Otherwise you have to create new tags that are converted directly using the Create button. If the Invert option is enabled, the respective grayscale will be inverted (light to dark and vice-versa).

否则,您必须创建直接使用 Create 按钮转换的新标记。如果启用了 Invert 选项,相应的灰度将被反转(光照变暗,反之亦然)。

Convert

转换

Click on the Convert button to convert the Target tag.

单击 Convert 按钮转换 Target 标记。