Paths Vertex Processor
Be sure to set the appropriate Previous vertices accessed and Next vertices accessed values before querying prev.pos or next.pos
You can also add 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 prev[2].pos (Float2), next[2].pos (Float2), 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
See also Paths Vertex Processor Simple.
Inputs
Paths Color
A list of encoded segments paths. Connect this input to the result of a Mask to Paths or to anotherPath-processing node.
Input # Color/Grayscale
Inputs for images that should be sampled in the Per Vertex Function parameter function.
Outputs
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
Previous Vertices Accessed Integer
Using this parameter will allow you to get the position of the previous vertex along the path (prev.pos) and the previous previous vertex (prev[2].pos) using Get nodes in the Per Vertex Function parameter function.
Next Vertices Accessed Integer
Using this parameter will allow you to get the position of the following vertex along the path (next.pos) and the following following vertex (next[2].pos) using Get nodes in the Per Vertex Function parameter function.
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.
Once you are done setting up all the desired samples, you can hide unused pins by reducing this parameter’s value back to 0.
Per Vertex Function Float2
Function applied for each vertex. Must return the new vertex position.
See the Description section in this page for guidance.
See the Description section in this page for guidance.
Examples
recommendation-more-help
substance-3d-designer-help-guide