fromNDC VEX function

Transforms a position from normal device coordinates to the coordinates in the appropriate space.

Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex

  1. vector fromNDC(vector )

Transforms a position from normal device coordinates to the coordinates in the appropriate space. NDC space is only well-defined for the Displacement, Surface, and Light contexts .