Go to the first, previous, next, last section, table of contents.


gnoise

Function: gnoise { x y z -> f }
file: jobg.t
package: muf
status: alpha

Noise functions map a point in space to a value between -1 and 1. They are frequently used to create clouds and other irregular shapes in computer graphics.

This one is Darwyn Peachey's gradient lattice noise function with smoothed trilinear interpolation, from his chapter in Texturing and Modelling, A Procedural Approach.

See the book or the Muq source for full implementation details.


Go to the first, previous, next, last section, table of contents.