Volume Gradient from File VEX node

Calculates the gradient of a volume primitive stored in a disk file.

See also: Volume Sample, Volume Sample from File, Volume Gradient

Calculates the gradient a specific volume primitive. The gradient is a vector pointing in the direction of increasing volume values. Returns 0 if “primnum” is out of range, the “input_index” is out of range, or the given primitive is not a volume primitive.

Usages in other examples

Example name Example for