Camera Relative Position

Convert camera relative position to world position.

Installation

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

Inputs

Name

Type

Description

Default

cameraPrim

bundle

Prims will be positioned relative to this camera

horizontalLocation

float[]

Horizontal location in the camera frame, which is in the range of [-1, 1]

verticalLocation

float[]

Vertical location in the camera frame, which is in the range of [-1, 1]

distance

float[]

Distance from the prim(s) to the camera

numSamples

int

Number of samples

width

int

Width of the render product

height

int

Height of the render product

execIn

execution

exec

Outputs

Name

Type

Description

Default

execOut

execution

exec

samples

double[3][]

New positions of each prim in the world space