Notch Notch Manual 1.0
 Light | Dark
Attribute Weightmap

Attribute Weightmap

This node generates a weightmap from attributes of the geometry.
Example .dfx

Method #

This deformer node generates per-vertex or per-polygon weight values using attributes or qualities of the parent mesh. For example, weights can be generated only for the border vertices of the mesh or only for the first vertices of lines.

Deformers such as the 3D Plasma Deformer have an input called “Generated Weightmap” which takes a Generate Weightmap Deformer as input; the per-vertex weight is then used to scale the deformation.

Parameters

ParameterDetails
Subdivision OrderToggle whether the deformer is added before or after the object is subdivided.
Subdivision LevelThe subdivision level at which the deformer is applied. Subdivision Order must be set to After Subdivision to Function.
WeightmapAdd a weight map to determine where the deformer is more or less effective.
Mode

The mode by which the value is generated.

  • vertex colour - the geometry’s vertex colour is used as the weight.
  • texture coordinate - the geometry’s texture coordinate is used as the weight.
  • material index - the polygon’s material index is compared against the material index property and used as a weight.
  • smooth group - the polygon’s smooth group is compared against the smooth group property and used as a weight.
  • geometry borders - weights are set for border vertices / polygons.
  • Object Imported Weightmap : Read values from a weightmap channel imported with the 3d object. only valid for suitable 3d object nodes loaded from 3d scene files containing weight maps.
  • Line First Vertex - Weights are set for the first vertex of each line : If the object contains line or spline primitives.
  • Line Last Vertex - Weights are set for the last vertex of each line : If the object contains line or spline primitives.
  • Line First Or Last Vertex - Weights are set for the first and last vertex of each line : If the object contains line or spline primitives.
  • Line Vertex Index - Weights are set by the vertex’s position within the line : If the object contains line or spline primitives.
GainScale the generated value.
OffsetOffset the generated value.
SharpnessApplies a power to sharpen the generated value.
Min ValueLimit the minimum value generated.
Max ValueLimit the maximum value generated.
InvertInvert the generated weightmap values.
Material IndexThe material index to compare to.
Smooth GroupThe smoothing group to compare to.
Show WeightmapVisualise the weightmap as vertex colours on the source geometry.