ParticleInstancer

Unified dynamics particle to instances

Installation

To use this Node, you must enable omni.particle.system.core2 in the Extension Manager.

Inputs

Name

Type

Description

Default

device

int

CUDA device to run simulation on

0

scale

float

Scale up instances by this amount

1.0

scaleAttribute

token

(Optional) Float per particle array multiplying scale of instances.

scale

orientationAttribute

token

(Optional) Quaternion per particle array denoting orientation of stamp.

orientation

idAttribute

token

(Optional) Unsigned int per particle array denoting unique id.

id

protoIndicesAttribute

token

(Optional) Int per particle array denoting index of object to be instanced at that point.

index

particles

bundle

Input particle data

Outputs

Name

Type

Description

Default

positions

float[3][]

instance positions

scales

float[3][]

instance scales

orientations

quath[4][]

instance orientations

ids

int64[]

instance orientations

protoIndices

int[]

instance exemplar index