OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java Thanks Stefan Gustavson! More...
#include <OgreVolumeSimplexNoise.h>
Public Member Functions | |
SimplexNoise (void) | |
Constructor with a random permutation table. More... | |
SimplexNoise (unsigned long definedSeed) | |
Constructor with a by seed defined permutation table. More... | |
long | getSeed (void) const |
Gets the current seed. More... | |
Real | noise (Real xIn, Real yIn, Real zIn) const |
3D noise function. More... | |
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java Thanks Stefan Gustavson!
Ogre::Volume::SimplexNoise::SimplexNoise | ( | void | ) |
Constructor with a random permutation table.
Ogre::Volume::SimplexNoise::SimplexNoise | ( | unsigned long | definedSeed | ) |
Constructor with a by seed defined permutation table.
definedSeed | The seed to use. |
3D noise function.
xIn | The first dimension parameter. |
yIn | The second dimension parameter. |
zIn | The third dimension parameter. |
long Ogre::Volume::SimplexNoise::getSeed | ( | void | ) | const |
Gets the current seed.