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 |
|
Whether to operator on the points |
True |
mesh |
|
Meshes to deform with the curves |
|
curve |
|
Curves to deform the meshes |
|
bindCurvePoints |
|
Cached bind points |
|
bindIndex |
|
Count of bind. Increment to force a rebind. |
|
rampPositions |
|
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 |
|
Scales for the scale ramp. |
|
rampInterpolations |
|
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 |
|
Deform each mesh by its corresponding curves prim. Alternatively, deform each mesh by each curves prim |
False |
shear |
|
Allow shearing by by keeping the y-up |
False |
offset |
|
Additional offset parameter to slide the meshes along the curves |
0 |
remap |
|
Remap the curve parameter: (0) None, (1) Length Preservation, (2) Length Distribution |
0 |
useGpu |
|
Use gpu compute |
True |
useGpuInterop |
|
Use gpu interop |
True |
useWeights |
|
Use Curves widths attribute to weigh deformation |
False |
$ GPU Interop attributes |
|||
stream |
|
Pointer to the CUDA Stream |
|
resourcePointer |
|
Pointer to RpResource |
0 |
numberOfPoints |
|
Number of points |
0 |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
mesh |
|
Meshes |
|
$ GPU Interop attributes |
|||
stream |
|
Pointer to the CUDA Stream |
|
resourcePointer |
|
Pointer to RpResource |
0 |
numberOfPoints |
|
Number of points |
0 |