Simstim

VEX Dictionary / getuvtangents

getuvtangents

Computes UV tangent vectors at a point on any object's surface by ray-casting along a search direction.

group: shadingshading raytracing

Available in displace, fog, light, shadow, surface

Usage

void getuvtangents(string objName, vector P, vector dir, vector &Tu, vector &Tv)
void getuvtangents(string objName, vector P, vector dir, vector &Tu, vector &Tv, vector &Tn)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗