InstanceIdSegmentation

This node outputs the instance id segmentation.

Installation

To use this Node, you must enable omni.replicator.core in the Extension Manager.

Inputs

Name

Type

Description

Default

exec

execution

Trigger

colorize

bool

If true, convert instance IDs into colors.

False

sdIMNumInstances

uint

Number of instances in the instance arrays

sdIMMinInstanceIndex

uint

Instance id of the first instance in the instance arrays

sdIMInstanceTokens

token[]

Instance array containing the token for every instances

bbox2DTightInfo

uchar[]

Bounding Box 2D Tight Info. Used to determine the visible instance ids in the viewport.

[]

data

uchar[]

Buffer array data

[]

bufferSize

uint

Size (in bytes) of the buffer (0 if the input is a texture)

swhFrameNumber

uint64

Frame number

width

uint

Width

height

uint

Height

Outputs

Name

Type

Description

Default

exec

execution

Trigger

data

uchar[]

Buffer array data

[]

ids

uint[]

Unoccluded instance ids (or color, if colorize is set to True).

labels

token[]

Prim path of the prim.

swhFrameNumber

uint64

Frame number

bufferSize

uint

Size (in bytes) of the buffer (0 if the input is a texture)

height

uint

Shape of the data

width

uint

Shape of the data