genproc: curve instancer from curves

Curve Instancer From Curves

Installation

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

Inputs

Name

Type

Description

Default

curvesBundle

bundle

Bundle containing curves data

terrainBundle

bundle

Bundle containing terrain data

samplingMode

int

0 = uniform, 1 = ramp

0

queryMode

int

0 = use horizontal plane, 1 = raycast to mesh, 2 = closest point on mesh

0

curveTopOffset

float

Offset of connection points to input curve(s)

0.0

curveBottomOffset

float

Offset of connection points to terrain / horizontal plane

0.0

minimumCurveLength

float

Curve instances will only be created if their length exceeds this value (after top and bottom offsets are applied)

0.0

curveUpAttrName

token

Name of attribute containing per-curve up vectors to be stored in output bundle

curveUp

rampSampleCount

int

Number of points to sample from curve ramp widget

50

rampSamplingPositions

float[]

Parametetric values from [0,1] at which sampling density can be specified

[]

rampSamplingValues

float[]

Sampling density on the curve. A value of 10 means that we should sample the curve with a step size of 1/10

[]

rampSamplingInterpolations

int[]

Interpolation method between keys. Linear is a creates a flat curve from point to point. Smooth creates an ease in or ease out curve from point to point.

[]

active

bool

Whether the node should run its compute

True

density

float

Constant number of samples to take along each segment of each curve

10.0

Outputs

Name

Type

Description

Default

reload

bool

Workaround option to force recomputation of output

False

rootedCurves

bundle

curves rooted in terrain