OGRE-Next: Ogre::Volume::SimplexNoise Class Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Ogre::Volume::SimplexNoise Class Reference

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 ()
| Constructor with a random permutation table.
| SimplexNoise (unsigned long definedSeed)
| Constructor with a by seed defined permutation table.
long | getSeed () const
| Gets the current seed.
Real | noise (Real xIn, Real yIn, Real zIn) const
| 3D noise function.

## Detailed Description

Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java Thanks Stefan Gustavson!

## Constructor & Destructor Documentation

## ◆ SimplexNoise() [1/2]

Ogre::Volume::SimplexNoise::SimplexNoise | ( |  | ) |

Constructor with a random permutation table.

## ◆ SimplexNoise() [2/2]

Ogre::Volume::SimplexNoise::SimplexNoise | ( | unsigned long | definedSeed | ) |

Constructor with a by seed defined permutation table.

Parameters

  definedSeed | The seed to use.

## Member Function Documentation

## ◆ getSeed()

long Ogre::Volume::SimplexNoise::getSeed | ( |  | ) | const

Gets the current seed.

Returns
  The current seed.

## ◆ noise()

Real Ogre::Volume::SimplexNoise::noise | ( | Real | xIn,
|  | Real | yIn,
|  | Real | zIn ) const

3D noise function.

Parameters

  xIn | The first dimension parameter.
  yIn | The second dimension parameter.
  zIn | The third dimension parameter.

Returns
  The noise value.

The documentation for this class was generated from the following file:

- OgreVolumeSimplexNoise.h