RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
Hydrax::Noise::FFT::Options Struct Reference

Struct wich contains fft noise module options. More...

#include <FFT.h>

Public Member Functions

 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...
 

Data Fields

int Resolution
 Noise resolution (2^n) More...
 
float PhysicalResolution
 Physical resolution. More...
 
float Scale
 Noise scale. More...
 
Ogre::Vector2 WindDirection
 Wind direction. More...
 
float AnimationSpeed
 Animation speed. More...
 
float KwPower
 KwPower. More...
 
float Amplitude
 Noise amplitude. More...
 
float GPU_Strength
 GPU Normal map generator parameters Only if GPU normal map generation is active. More...
 
Ogre::Vector3 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. More...
 

Detailed Description

Struct wich contains fft noise module options.

Definition at line 49 of file FFT.h.

Constructor & Destructor Documentation

◆ 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
_ResolutionFFT Resolution (2^n)
_PhysicalResolutionPhysical resolution of the surface
_ScaleNoise scale
_WindDirectionWind direction
_AnimationSpeedAnimation speed coeficient
_KwPowerKwPower
_AmplitudeNoise 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
_ResolutionFFT Resolution (2^n)
_PhysicalResolutionPhysical resolution of the surface
_ScaleNoise scale
_WindDirectionWind direction
_AnimationSpeedAnimation speed coeficient
_KwPowerKwPower
_AmplitudeNoise amplitude
_GPU_StrengthGPU_Strength
_GPU_LODParametersGPU_LODParameters

Definition at line 134 of file FFT.h.

Field Documentation

◆ Amplitude

float Hydrax::Noise::FFT::Options::Amplitude

Noise amplitude.

Definition at line 64 of file FFT.h.

◆ 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

Noise resolution (2^n)

Definition at line 52 of file FFT.h.

◆ Scale

float Hydrax::Noise::FFT::Options::Scale

Noise scale.

Definition at line 56 of file FFT.h.

◆ 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: