DepthToPosition
Generates a position pass from a depth pass and a 3D camera.
See also DepthToPoints, PositionToPoints, DepthGenerator, and Camera.
Inputs and Controls
Connection Type |
Connection Name |
Function |
Input |
camera |
The 3D tracked camera that corresponds to the image input. |
image |
The image from which the position pass is generated, and where all the depth data resides. |
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
DepthToPosition Tab |
|||
output |
output |
rgb |
Specifies the channels the output position pass is put into, and includes the option to create a new layer for this purpose. |
depth |
depth |
depth.Z |
Sets the channel that you want to use for the depth. |
invert depth |
invert |
disabled |
Invert the depth before processing the depth pass image. This is best used when the depth channel is z, as opposed to 1/z. |
far |
far |
10000 |
Specifies a value at which depth beyond this distance from the camera are ignored when calculating the position pass. |