Struct wich contains fft noise module options.
More...
#include <FFT.h>
|
| Options () |
| Default constructor. More...
|
|
| Options (const int &_Resolution, const float &_PhysicalResolution, const float &_Scale, const Ogre::Vector2 &_WindDirection, const float &_AnimationSpeed, const float &_KwPower, const float &_Amplitude) |
| User constructor. More...
|
|
| Options (const int &_Resolution, const float &_PhysicalResolution, const float &_Scale, const Ogre::Vector2 &_WindDirection, const float &_AnimationSpeed, const float &_KwPower, const float &_Amplitude, const float &_GPU_Strength, const Ogre::Vector3 &_GPU_LODParameters) |
| User constructor. More...
|
|
Struct wich contains fft noise module options.
Definition at line 49 of file FFT.h.
◆ Options() [1/3]
Hydrax::Noise::FFT::Options::Options |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 82 of file FFT.h.
◆ Options() [2/3]
Hydrax::Noise::FFT::Options::Options |
( |
const int & |
_Resolution, |
|
|
const float & |
_PhysicalResolution, |
|
|
const float & |
_Scale, |
|
|
const Ogre::Vector2 & |
_WindDirection, |
|
|
const float & |
_AnimationSpeed, |
|
|
const float & |
_KwPower, |
|
|
const float & |
_Amplitude |
|
) |
| |
|
inline |
User constructor.
- Parameters
-
_Resolution | FFT Resolution (2^n) |
_PhysicalResolution | Physical resolution of the surface |
_Scale | Noise scale |
_WindDirection | Wind direction |
_AnimationSpeed | Animation speed coeficient |
_KwPower | KwPower |
_Amplitude | Noise amplitude |
Definition at line 104 of file FFT.h.
◆ Options() [3/3]
Hydrax::Noise::FFT::Options::Options |
( |
const int & |
_Resolution, |
|
|
const float & |
_PhysicalResolution, |
|
|
const float & |
_Scale, |
|
|
const Ogre::Vector2 & |
_WindDirection, |
|
|
const float & |
_AnimationSpeed, |
|
|
const float & |
_KwPower, |
|
|
const float & |
_Amplitude, |
|
|
const float & |
_GPU_Strength, |
|
|
const Ogre::Vector3 & |
_GPU_LODParameters |
|
) |
| |
|
inline |
User constructor.
- Parameters
-
_Resolution | FFT Resolution (2^n) |
_PhysicalResolution | Physical resolution of the surface |
_Scale | Noise scale |
_WindDirection | Wind direction |
_AnimationSpeed | Animation speed coeficient |
_KwPower | KwPower |
_Amplitude | Noise amplitude |
_GPU_Strength | GPU_Strength |
_GPU_LODParameters | GPU_LODParameters |
Definition at line 134 of file FFT.h.
◆ Amplitude
float Hydrax::Noise::FFT::Options::Amplitude |
◆ AnimationSpeed
float Hydrax::Noise::FFT::Options::AnimationSpeed |
Animation speed.
Definition at line 60 of file FFT.h.
◆ GPU_LODParameters
Ogre::Vector3 Hydrax::Noise::FFT::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 78 of file FFT.h.
◆ GPU_Strength
float Hydrax::Noise::FFT::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 70 of file FFT.h.
◆ KwPower
float Hydrax::Noise::FFT::Options::KwPower |
KwPower.
Definition at line 62 of file FFT.h.
◆ PhysicalResolution
float Hydrax::Noise::FFT::Options::PhysicalResolution |
Physical resolution.
Definition at line 54 of file FFT.h.
◆ Resolution
int Hydrax::Noise::FFT::Options::Resolution |
◆ Scale
float Hydrax::Noise::FFT::Options::Scale |
◆ WindDirection
Ogre::Vector2 Hydrax::Noise::FFT::Options::WindDirection |
Wind direction.
Definition at line 58 of file FFT.h.
The documentation for this struct was generated from the following file:
- source/main/gfx/hydrax/FFT.h