Tension Tag

紧张标签

Basic 基础Tag 标签

Tension Tag

紧张标签

You can use the Tension tag to write information in a vertex map that defines how much stretching or compression is occurring in each polygon that is being deformed by one or more deformers.

您可以使用张力标签在顶点映射中写入信息,该映射定义了每个被一个或多个变形程序变形的多边形中发生了多少拉伸或压缩。

You can then use this information for a number of purposes. One of the main uses is to create natural-looking folds and stretches as a mesh deforms. This is achieved by loading the vertex maps generated into vertex map shaders, which are then used as layer masks inside a layer shader. The layer masks are used to blend in the various stretch maps and fold maps in the areas where stretching or compression is occurring.

然后,您可以将此信息用于多种用途。其中一个主要用途是创建自然的外观折叠和伸展作为一个网格变形。这是通过加载生成的顶点地图到顶点地图着色器,然后用作图层着色器内的蒙版。图层蒙版用于在拉伸或压缩的区域混合各种拉伸图和折叠图。

You can use this layer shader in the displacement channel, for example, to simulate folds on the object. The next picture shows you an example of this effect.

例如,你可以在位移通道中使用这个图层着色器来模拟物体上的折叠。下一张图片展示了这种效果的一个例子。

The tag has many other possible uses besides simulating folds. For example, you can use the vertex maps generated to control Cloth parameters, particle emission or foam on the crest of a wave. You can also use the tag to restrict the influence of other deformers. The possibilities are endless!

除了模拟折叠,标签还有许多其他可能的用途。例如,您可以使用顶点地图生成来控制布料参数,粒子发射或波峰上的泡沫。您还可以使用标记来限制其他变形的影响。可能性是无限的!