User Guide Cancel

Spline (Cubic) | Substance 3D Designer

Node icon

In: Spline & Path Tools > Spline Tools

Description

Generates a single spline between two points p1 and p2 at arbitrary locations.

The trajectory of the spline is controlled by the ‘out’ tangent of p1 and the ‘in’ tangent of p2.


Input connectors

Preview Grayscale
The preview of the input splines as a grayscale image.

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.


Output connectors

Preview Grayscale
The preview of the output splines as a grayscale image.

Spline Coords Color
The coordinates of the output 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 output 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 output splines.


Parameters

Flip Direction Boolean
Inverts the direction of the spline.

Append Input Spline Boolean
Adds the generated spline to the end of the list of splines connected to the Spline inputs.

Non-Square Correction Boolean
Adjust the points’ positions and thickness to retain the spline shape in non-square resolutions.
This also impacts uniform distribution.


Examples

Node example 1

Node example 2

Node example 3

Get help faster and easier

New user?