User Guide Cancel

Paths to Spline | Substance 3D Designer

Node icon

In: Spline & Path Tools > Path Tools

Description

Converts a paths into splines which can be visualized using a Spline Render node and processed using Spline nodes.

Note:

Splines are curves thus cannot retain the sharpness of paths. Expect some smoothing of shapes when converting paths into splines.

Tip:

This node can be used after the Mask to Paths node to form a chain that converts a mask into splines.


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.


Output connectors

Spline Coords Color
The coordinates of the input splines’ points encoded in the RGBA channels of a color image:
    R - X position
    G - Y position
    B - Height
    A - Packed data:
        - Sign: Spline is closed (negative) or open (positive);
        - Absolute value: Thickness + 1.

Spline Data Color
Additional data of the input splines encoded in the RGBA channels of a color image:
R - Tangents X
G - Tangents Y
B - Unused
A - Unused

Spline Amount Integer
The number of input splines.


Parameters

Splines Precision Integer
The base-2 logarithm (log2) of the number of vertices sampled in each path of the Paths input to build the corresponding spline.


Examples

PathsToSpline-Variant1-Before
PathsToSpline-Variant1-After
PathsToSpline-Variant2-Before
PathsToSpline-Variant2-After

Get help faster and easier

New user?