Houdini 11 VEX VEX functions

Samples the volume primitive’s value.

  1. float volumesample(int inputnum, int primnum, vector pos)

  2. float volumesample(string filename, int primnum, vector pos)

Samples the volume primitive’s value. Returns 0 if there is no input or file, or the primitive number is out of range.

Contexts: all