onoise VEX function

These functions are similar to wnoise and vnoise.

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

  1. float onoise(vector pos)

  2. vector onoise(vector pos)

  3. float onoise(vector pos, int turbulence, float rough, float atten)

  4. vector onoise(vector pos, int turbulence, float rough, float atten)

These functions are similar to wnoise and vnoise. However, they are marginally less efficient in computation and don’t have the same characteristics. The bounds on the noise are roughly (-1, 1). Only 3D noise is supported. However, this noise has the ability to compute turbulence with roughness and attenuation on the noise.

See noise and randomness in the VEX language guide for more information.