Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Noise Class Reference

Solid noise. More...

#include <Noise.h>

Collaboration diagram for Noise:

Collaboration graph
[legend]
List of all members.

Public Methods

 Noise ()
real operator() (Vertex3 &p)
 Noise function. More...

real turbulence (Vertex3 &p, real beta, unsigned int N=10)
 N octaves of solid noise. More...


Detailed Description

Solid noise.


Member Function Documentation

real Noise::operator() Vertex3   p
 

Noise function.

Given a 3D vertex the noise function is defined as:

where is an array of random unit vectors and is an interpolation function defined as:

real Noise::turbulence Vertex3   p,
real    beta,
unsigned int    N = 10
 

N octaves of solid noise.

The turbulence function is defined as:


The documentation for this class was generated from the following files:
This documentation was generated using doxygen. If you have any comments or additions please mail me.