Struct wich contains Perlin noise module options.
More...
#include <Perlin.h>
|
| Options () |
| Default constructor. More...
|
|
| Options (const int &_Octaves, const float &_Scale, const float &_Falloff, const float &_Animspeed, const float &_Timemulti) |
| Constructor. More...
|
|
| Options (const int &_Octaves, const float &_Scale, const float &_Falloff, const float &_Animspeed, const float &_Timemulti, const float &_GPU_Strength, const Ogre::Vector3 &_GPU_LODParameters) |
| Constructor. More...
|
|
Struct wich contains Perlin noise module options.
Definition at line 78 of file Perlin.h.
◆ Options() [1/3]
Hydrax::Noise::Perlin::Options::Options |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 107 of file Perlin.h.
◆ Options() [2/3]
Hydrax::Noise::Perlin::Options::Options |
( |
const int & |
_Octaves, |
|
|
const float & |
_Scale, |
|
|
const float & |
_Falloff, |
|
|
const float & |
_Animspeed, |
|
|
const float & |
_Timemulti |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
_Octaves | Perlin noise octaves |
_Scale | Noise scale |
_Falloff | Noise fall off |
_Animspeed | Animation speed |
_Timemulti | Timemulti |
Definition at line 125 of file Perlin.h.
◆ Options() [3/3]
Hydrax::Noise::Perlin::Options::Options |
( |
const int & |
_Octaves, |
|
|
const float & |
_Scale, |
|
|
const float & |
_Falloff, |
|
|
const float & |
_Animspeed, |
|
|
const float & |
_Timemulti, |
|
|
const float & |
_GPU_Strength, |
|
|
const Ogre::Vector3 & |
_GPU_LODParameters |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
_Octaves | Perlin noise octaves |
_Scale | Noise scale |
_Falloff | Noise fall off |
_Animspeed | Animation speed |
_Timemulti | Timemulti |
_GPU_Strength | GPU_Strength |
_GPU_LODParameters | GPU_LODParameters |
Definition at line 149 of file Perlin.h.
◆ Animspeed
float Hydrax::Noise::Perlin::Options::Animspeed |
Animspeed.
Definition at line 87 of file Perlin.h.
◆ Falloff
float Hydrax::Noise::Perlin::Options::Falloff |
◆ GPU_LODParameters
Ogre::Vector3 Hydrax::Noise::Perlin::Options::GPU_LODParameters |
LOD Parameters, in order to obtain a smooth normal map we need to decrease the detail level when the pixel is far to the camera.
This parameters are stored in an Ogre::Vector3: x -> Initial LOD value (Bigger values -> less detail) y -> Final LOD value z -> Final distance
Definition at line 103 of file Perlin.h.
◆ GPU_Strength
float Hydrax::Noise::Perlin::Options::GPU_Strength |
GPU Normal map generator parameters Only if GPU normal map generation is active.
Representes the strength of the normals (i.e. Amplitude)
Definition at line 95 of file Perlin.h.
◆ Octaves
int Hydrax::Noise::Perlin::Options::Octaves |
◆ Scale
float Hydrax::Noise::Perlin::Options::Scale |
◆ Timemulti
float Hydrax::Noise::Perlin::Options::Timemulti |
Timemulti.
Definition at line 89 of file Perlin.h.
The documentation for this struct was generated from the following file: