omni.graph.DeformByCurve

Deform Meshes by Curves. Any node that has a ‘points’ attribute can be considered a mesh to be deformed.

Installation

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

Inputs

Name

Type

Description

Default

active

bool

Whether to operator on the points

True

mesh

bundle

Meshes to deform with the curves

curve

bundle

Curves to deform the meshes

bindCurvePoints

pointf[3][]

Cached bind points

bindIndex

uint64

Count of bind. Increment to force a rebind.

rampPositions

float[]

Positions for the scale ramp, in the normalized distance along curve space, from zero to one: zero being the beginning of the curve, and one being the end of the curve.

rampValues

float[]

Scales for the scale ramp.

rampInterpolations

int[]

Interpolation curve types for each segment of the scale ramp. Linear (1) creates a flat curve from point to point in the ramp. Smooth (2) creates an ease in or ease out curve from point to point in the ramp.

oneToOne

bool

Deform each mesh by its corresponding curves prim. Alternatively, deform each mesh by each curves prim

False

shear

bool

Allow shearing by by keeping the y-up

False

offset

float

Additional offset parameter to slide the meshes along the curves

0

remap

int

Remap the curve parameter: (0) None, (1) Length Preservation, (2) Length Distribution

0

useGpu

bool

Use gpu compute

True

useGpuInterop

bool

Use gpu interop

True

useWeights

bool

Use Curves widths attribute to weigh deformation

False

$ GPU Interop attributes

stream

uint64

Pointer to the CUDA Stream

resourcePointer

uint64

Pointer to RpResource

0

numberOfPoints

uint64

Number of points

0

Outputs

Name

Type

Description

Default

mesh

bundle

Meshes

$ GPU Interop attributes

stream

uint64

Pointer to the CUDA Stream

resourcePointer

uint64

Pointer to RpResource

0

numberOfPoints

uint64

Number of points

0