User Guide Cancel

Spline Render | Substance 3D Designer

Node icon

In: Spline & Path Tools > Spline Tools

Description

Draws strings of segments along the input Splines over the input Background.


Input connectors

Background Grayscale
The grayscale image over which splines should be drawn.

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

Output Grayscale
The result image of drawing the input Splines on top of the Background.


Parameters

Mode Integer
The method of selecting which splines should be drawn:
- Draw Spline List: Draw all splines in the input list;
- Draw Single Spline: Draw only the specified spline from the input list;
- Draw Spline Range: Draw only the splines in the specified range from the input list.

Draw Spline Index Integer (Available when ‘Mode’ is set to ‘Draw Single Spline’)
The index of the spline that should be drawn.

Draw Spline Range Integer2 (Available when ‘Mode’ is set to ‘Draw Spline Range’)
The range of indexes for the splines that should be drawn.

Show Direction Helper Boolean
For each spline, draws a dot at the start of the spline and an arrowhead at its end.

Segments Amount Integer
Adjusts the number of segments drawn along the splines.
A higher value results in smoother lines.

Envelope Spline Amount Integer
The number of duplicate segments that should be drawn along each spline’s thickness.

Start Float
Offsets the start of the portion of the spline which should be drawn.
The value represents the normalized length of the spline.

End Float
Offsets the end of the portion of the spline which should be drawn.
The value represents the normalized length of the spline.

Thickness Size Mode Integer
The method of computing the thickness of the drawn segments:
- Image: the value is normalized in texture space, where 1 is the full width of the image. Thickness is relative to the texture resolution;
- Pixel: the value is an absolute number of pixels in the texture, where 1 is a full pixel. Thickness is separate from the texture resolution.

Thickness (image) Float (available when ‘Thickness Size Mode’ is set to Image)
The thickness of the drawn segments normalized in texture space, where 1 is the full width of the image.

Thickness (px) Float (available when ‘Thickness Size Mode’ is set to Pixel)
The thickness of the drawn segments as an absolute number of pixels in the texture, where 1 is a full pixel.

Enable Joints Boolean
Fills the gaps between the individual segments drawn along the splines, using discs.

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

SplineRender-Variant2-Before
SplineRender-Variant2-After
SplineRender-Variant1-Before
SplineRender-Variant1-After
SplineRender-Variant1-Before
SplineRender-Variant3
Node example 1

Get help faster and easier

New user?