Points on Curve#

Given a bundle containing curve data and a u-value (between zero and one), get a point on the curve and the curve tangent at that point. Note that if multiple curves are present in the bundle, only the first one will be used.

Installation#

To use this Node, you must enable omni.genproc.core in the Extension Manager.

Inputs#

Name

Type

Description

Default

Curves Bundle (curvesBundle)

bundle

Bundle containing curves data

U-Values (uValues)

float[]

Parametric values from zero to one at which to sample points on the curve

Sampling Mode (samplingMode)

int

Sampling mode: 0 – sample from an input array connect to the uValues input, 1 – sample from a random distribution generated using the timeBasedSeed, randomSeed, and numberOfPoints inputs

0

Vary Randomness Over Time (timeBasedSeed)

bool

If true, random seed will vary with time; if false random numbers will be the same each frame.

False

Random Seed (randomSeed)

int

Seed for random number generator for u-value distribution (if nothing is connected to the uValue input)

0

Number of Points (numberOfPoints)

int

Number of points to randomly sample on the curve (if nothing is connected to the uValue input)

10

Outputs#

Name

Type

Description

Default

Point on Curve (points)

float[3][]

Point on input curve

Tangent at Point (tangents)

float[3][]

Curve tangent at point