Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | 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> 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> 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 46 of file ShNoise.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Oct 18 14:18:00 2004 for Sh by doxygen 1.3.7