User Guide Cancel

Spline Bridge (2 Splines) | Substance 3D Designer

Node icon

In: Spline & Path Tools > Spline Tools

Description

Generates splines from Spline #1 to Spline #2 along these splines. The generated splines can be Linear (straight) or Cubic Bezier (curved).

Caution:

If the data supplied to the Spline #1 and Spline #2 inputs contain more than one spline, only the last spline in each list is used.


Input connectors

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

Spline Coords #1 Color
The coordinates of the input splines’ points #1 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 #1 Color
Additional data of the input splines #1 encoded in the RGBA channels of a color image.
    R - Tangents X
    G - Tangents Y
    B - Unused
    A - Unused

Spline Amount #1 Integer
The number of input splines #1.

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

Spline Coords #2 Color
The coordinates of the input splines’ #2 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 #2 Color
Additional data of the input splines #2 encoded in the RGBA channels of a color image.
    R - Tangents X
    G - Tangents Y
    B - Unused
    A - Unused

Spline Amount #2 Integer
The number of input splines #2.

Start Tangent Length Curve Grayscale (Available when ‘Bridge Splines Type’ is set to ‘Cubic Bezier’)
The image describing a curve using the values of its first row of pixels.
This input is used to control the length of the ‘out’ tangents for the start point of each generated spline along Spline #1.
You may use a Curve node to author the curve.

Start Tangent Rotation Curve Grayscale (Available when ‘Bridge Splines Type’ is set to ‘Cubic Bezier’)
The image describing a curve using the values of its first row of pixels.
This input is used to control the rotation of the ‘out’ tangents for the start point of each generated spline along Spline #1.
The grayscale value of the image represents a number of turns.
You may use a Curve node to author the curve.

End Tangent Length Curve Grayscale (Available when ‘Bridge Splines Type’ is set to ‘Cubic Bezier’)
The image describing a curve using the values of its first row of pixels.
This input is used to control the length of the ‘in’ tangents for the end point of each generated spline along Spline #2.
You may use a Curve node to author the curve.

End Tangent Rotation Curve Grayscale (Available when ‘Bridge Splines Type’ is set to ‘Cubic Bezier’)
The image describing a curve using the values of its first row of pixels.
This input is used to control the rotation of the ‘in’ tangents for the end point of each generated spline along Spline #2.
The grayscale value of the image represents a number of turns.
You may use a Curve node to author the curve.


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

Bridge Splines Amount Integer
The number of splines generated along Spline #1 to Spline #2.

Bridge Splines Type Integer
The type of spline that is generated:
- Linear: a straight spline from Start to End;
- Cubic Bezier: a curved spline from Start to End, the curve being controlled by the length and angle of the Start and End points.

Start Spline #1 Float
Offsets the location along Spline #1 from where splines are generated. The value is the normalized length of Spline #1.
A higher value results in the same number of splines being packed more tightly together.

Start Spline #2 Float
Offsets the location along Spline #2 from where splines are generated. The value is the normalized length of Spline #2.
A higher value results in the same number of splines being packed more tightly together.

End Spline #1 Float
Offsets the location along Spline #1 up to where splines are generated. The value is the normalized length of Spline #1.
A lower value results in the same number of splines being packed more tightly together.

End Spline #1 Float
Offsets the location along Spline #2 up to where splines are generated. The value is the normalized length of Spline #2.
A lower value results in the same number of splines being packed more tightly together.

Offset Spline #1 Float
Applies an offset to the starting point of all splines along Spline #1. The value is the normalized length of Spline #1.
Splines that meet the start or end of the spline are left there.

Offset Spline #2 Float
Applies an offset to the starting point of all splines along Spline #2. The value is the normalized length of Spline #2.
Splines that meet the start or end of the spline are left there.

Offset Random Start Float
Applies a random offset to the starting point of each spline along Spline #1. The value is the normalized distance between splines on Spline #1.
When left at 0, the splines are evenly spaced between the Start Spline #1 and End Spline #1 points.

Offset Random End Float
Applies a random offset to the ending point of each spline along Spline #2. The value is the normalized distance between splines on Spline #2.
When left at 0, the splines are evenly spaced between the Start Spline #2 and End Spline #2 points.

Tangent Length Start Float (Available when ‘Bridge Splines Type’ is set to ‘Cubic Bezier’)
The length of the ‘out’ tangent for the start point on Spline #1 of all generated splines.

Tangent Length End Float (Available when ‘Bridge Splines Type’ is set to ‘Cubic Bezier’)
The length of the ‘in’ tangent for the end point on Spline #2 of all generated splines.

Tangent Rotation Start Float (Available when ‘Bridge Splines Type’ is set to ‘Cubic Bezier’)
The rotation of the ‘out’ tangent for the start point on Spline #1 of all generated splines.
The value is a number of turns.

Tangent Rotation End Float (Available when ‘Bridge Splines Type’ is set to ‘Cubic Bezier’)
The rotation of the ‘in’ tangent for the end point on Spline #2 of all generated splines.
The value is a number of turns.


Examples

SplineBridge-2Splines_Variant1-Before
SplineBridge-2Splines_Variant1-After
Node example 2

Get help faster and easier

New user?