Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ShUtil::ShNoise< M, T, P > Class Template Reference

A Perlin noise/turbulence generator. M = dimensions of the result (1 <= M <= 4 currently) P = period of the noise texture. More...

#include <ShNoise.hpp>

Collaboration diagram for ShUtil::ShNoise< M, T, P >:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

template<int K>
static ShGeneric< M, T > perlin (const ShGeneric< K, T > &p, bool useTexture)
 Generates a single octave Perlin noise with frequency 1 in each of K dimensions. If useTexture is on, then the pattern repeats at every P cells.
template<int K>
static ShGeneric< M, T > cellnoise (const ShGeneric< K, T > &p, bool useTexture)
 Generates a cell noise value using unit cube cells.

Detailed Description

template<int M, typename T, int P = 16>
class ShUtil::ShNoise< M, T, P >

A Perlin noise/turbulence generator. M = dimensions of the result (1 <= M <= 4 currently) P = period of the noise texture.

Definition at line 51 of file ShNoise.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 18:38:29 2005 for Sh by  doxygen 1.4.1