User Guide Cancel

Paths Vertex Processor Simple | Substance 3D Designer

Node icon

In: Spline & Path Tools > Path Tools

Description

Applies a transformation on the vertices position of the input Paths.

  1. Edit the Per Vertex Function parameter function;
  2. Use a Get Float2 node the vertex.pos variable;
  3. Do some operations on this value (E.g., multiply it to scale the paths);
  4. Set the result of your computation as output.

You may use input images and sample them from the function. You must first connect an input to able to sample it from the function. (Be careful, first input is Image 1!)
You can also access the vertex.corner (bool) and path.id (float) variables.

Tip:

For advanced users, the Paths Format Specification explains how the data of paths is encoded into color images, and provides tips for manipulating this data directly.

Note:

Input connectors

Paths Color
A list of encoded segments paths. Connect this input to the result of a Mask to Paths or to another Path-processing node.

Input # Color/Grayscale
Inputs for images that should be sampled in the Per Vertex Function parameter function.


Output connectors

Paths Color
The transformed Paths. You can either use Preview Paths to get an idea of what the result represents, use another Paths-processing node, or input it to a Paths to Spline to further process it as Splines.


Parameters

Image Input Count Integer
The number of visible Input # input connectors to connect images that should be sampled in the Per Vertex Function parameter function.
Once you are done setting up all the desired samples, you can hide unused pins by reducing this parameter's value back to 0.
If you need more inputs, use the Paths Vertex Processor instead.

Per Vertex Function Float2
Function applied for each vertex. Must return the new vertex position.
See the Description section in this page for guidance.


Examples

Node example 2

Get help faster and easier

New user?