Scatter Points from Camera
Scatters points on input geometry by casting rays from a camera.
Installation
To use this Node, you must enable wip.genproc.core
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
active |
|
Is the Scatter Points node currently active? |
True |
usdTimecode |
|
The USD timecode at the current playback point (timeline time ‘*’ timecodes/sec) |
0 |
time |
|
Either the running clock or the timeline time or timeline time, depending on playbackEvaluation |
0 |
randomSeed |
|
0 |
|
numDesiredPoints |
|
The number of generated points desired. |
100 |
maxIterations |
|
Maximum number of rays to cast |
1000000 |
meshBundle |
|
Mesh geometry prims |
|
cameraPrim |
|
Camera prim |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
points |
|
Output point positions |
[] |
projectedPoints |
|
If a camera prim is provided, this collection will be populated with points projected into the camera’s screen space in the range [-1, 1]. If no camera prim is provided, this will be empty. |
[] |
normals |
|
Output point normals, correlates to points |
[] |