Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
Hydrax::Noise::Perlin::Options Struct Reference

Description

Struct wich contains Perlin noise module options.

Definition at line 78 of file Perlin.h.

Public Member Functions

 Options ()
 
 Options (const int &_Octaves, const float &_Scale, const float &_Falloff, const float &_Animspeed, const float &_Timemulti)
 
 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)
 

Data Fields

int Octaves
 
float Scale
 
float Falloff
 
float Animspeed
 
float Timemulti
 
float GPU_Strength
 
Ogre::Vector3 GPU_LODParameters
 

Constructor & Destructor Documentation

◆ 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
_OctavesPerlin noise octaves
_ScaleNoise scale
_FalloffNoise fall off
_AnimspeedAnimation speed
_TimemultiTimemulti

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
_OctavesPerlin noise octaves
_ScaleNoise scale
_FalloffNoise fall off
_AnimspeedAnimation speed
_TimemultiTimemulti
_GPU_StrengthGPU_Strength
_GPU_LODParametersGPU_LODParameters

Definition at line 149 of file Perlin.h.

Field Documentation

◆ Animspeed

float Hydrax::Noise::Perlin::Options::Animspeed

Animspeed.

Definition at line 87 of file Perlin.h.

◆ Falloff

float Hydrax::Noise::Perlin::Options::Falloff

Falloff.

Definition at line 85 of file Perlin.h.

◆ 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

Octaves.

Definition at line 81 of file Perlin.h.

◆ Scale

float Hydrax::Noise::Perlin::Options::Scale

Scale.

Definition at line 83 of file Perlin.h.

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