conv2Dto3D: Calculate a real world position of a projected object

Description Usage Arguments Value

Description

Given the position of an object on the projection plane, the real depth of the object, and the depth of the projection plane, calculate the position of the real-world object

Usage

1
conv2Dto3D(ScreenPosition, TargetDepth, ScreenDepth)

Arguments

ScreenPosition

The position of the object on the screen

TargetDepth

The targets' position in depth coordinates

ScreenDepth

The position of the projection plane in depth coordinates

Value

numeric 3D position in the coordinate axis specified in TargetPosition


drknexus/repsych documentation built on May 15, 2019, 2:19 p.m.