Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Attribute Weightmap

Attribute Weightmap

Updated: 10 Feb 2025

Generates a weightmap from attributes of the parent geometry
Example .dfx

Method #

This node generates per-vertex or per-polygon weight values using attributes and structure of the parent mesh. These can then be used to vary the strength of Deformers on the parent mesh.

The output from this node is a vertex weightmap which is unique to the parent mesh, so can’t be used to influence other meshes.

Node placement is important! Weightmaps are generated following the deformer processing stack, so make sure to place the weightmap at some point before the deformer its applied to.

Parameters

These properties control the core behaviours of the node.

ParameterDetails
WeightmapAdd a weight map to determine where the deformer is more or less effective.
ModeThe mode by which the value is generated.
  • 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.
  • Vertex Colour : The geometrys vertex colours are used as the weight.
  • Texture Coordinate : The geometrys texture coordinate is used as the weight.
  • Material Index : The polygons material index is compared against the material index property and used as a weight.
  • Smooth Group Index : the polygons smooth group is compared against the smooth group property and used as a weight.
  • 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.
  • Geometry Borders : Weights are set for border vertices / polygons.
  • Creases : Analyses the topology looking for areas which sharply bend, and creates a weightmap depending on the deformation amount. Creases tend to be more localise, focusing on smaller areas of sharp changes.
  • Curvature : Analyses the topology looking for how much the polygon flow deviates from being flat. Curvature tends to be quite broad, sampling a large area to generate a curvature map.
  • Vertex Connection Graph : Generates a connection graph based on the locations and connectiones between vertices in the scene. a weightmap can then be applied by taking one or more ‘seed points’, and growing outward from them following the connection graph. Useful for growing effects, or effects which need to follow along a surface.
  • Copy From Per Polygon Weightmap : Generates a vertex weightmap from a per-polygon weight map.
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