RpResource Example Deformer Node
Allocate CUDA-interoperable RpResource
Installation
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
stream (stream) |
|
Pointer to the CUDA Stream |
|
Resource Pointer Collection (resourcePointerCollection) |
|
Pointer to RpResource collection |
|
Point Counts (pointCountCollection) |
|
Pointer to point counts collection |
|
Prim Paths (primPathCollection) |
|
Pointer to prim path collection |
|
Verbose (verbose) |
|
verbose printing |
False |
Displacement Axis (displacementAxis) |
|
dimension in which mesh is translated |
0 |
Run Deformer (runDeformerKernel) |
|
Whether cuda kernel will be executed |
True |
Time Scale (timeScale) |
|
Deformation control |
0.01 |
Position Scale (positionScale) |
|
Deformation control |
1.0 |
Deform Scale (deformScale) |
|
Deformation control |
1.0 |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
stream (stream) |
|
Pointer to the CUDA Stream |
|
Resource Pointer Collection (resourcePointerCollection) |
|
Pointers to RpResources (two resources per prim are assumed – one for rest positions and one for deformed positions) |
|
Point Counts (pointCountCollection) |
|
Point count for each prim being deformed |
|
Prim Paths (primPathCollection) |
|
Path for each prim being deformed |
|
Reload (reload) |
|
Force RpResource reload |
False |