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

bool

Is the Scatter Points node currently active?

True

usdTimecode

double

The USD timecode at the current playback point (timeline time ‘*’ timecodes/sec)

0

time

double

Either the running clock or the timeline time or timeline time, depending on playbackEvaluation

0

randomSeed

uint64

0

numDesiredPoints

int

The number of generated points desired.

100

maxIterations

int

Maximum number of rays to cast

1000000

meshBundle

bundle

Mesh geometry prims

cameraPrim

bundle

Camera prim

Outputs

Name

Type

Description

Default

points

pointf[3][]

Output point positions

[]

projectedPoints

float[2][]

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

normalf[3][]

Output point normals, correlates to points

[]