Simstim

VEX Dictionary / depthmap

depthmap

Reads the camera-to-pixel distance stored in a rendered z-depth image, unfiltered.

group: texturemapfile

Available in every context

Usage

float depthmap(string filename, vector uvw)
float depthmap(string filename, float u, float v)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗