WaveTile are Texture used to advect rivers normal. More...
#include <PerlinWaveTile.h>
Classes | |
struct | Noise |
2D Noise generator. More... | |
Public Member Functions | |
PerlinWaveTile (string &name, int tileSize, int gridSize, float waveLength, int timeLoop) | |
Creates a new PerlinWaveTile. | |
virtual | ~PerlinWaveTile () |
Deletes this PerlinWaveTile. | |
Protected Member Functions | |
PerlinWaveTile () | |
Creates a new PerlinWaveTile. | |
void | init (ptr< Texture2D > tex, int size, int numLodLevel) |
Initializes the fields of a PerlinWaveTile. | |
virtual void | init (string &name, int tileSize, int gridSize, float waveLength, int timeLoop) |
Initializes the fields of a PerlinWaveTile. |
WaveTile are Texture used to advect rivers normal.
They can be updated through time, in order to change the waves profiles. PerlinWaveTile are basically Noise Texture.
proland::PerlinWaveTile::PerlinWaveTile | ( | string & | name, | |
int | tileSize, | |||
int | gridSize, | |||
float | waveLength, | |||
int | timeLoop | |||
) |
Creates a new PerlinWaveTile.
See WaveTile::WaveTile().
virtual proland::PerlinWaveTile::~PerlinWaveTile | ( | ) | [virtual] |
Deletes this PerlinWaveTile.
proland::PerlinWaveTile::PerlinWaveTile | ( | ) | [protected] |
Creates a new PerlinWaveTile.
virtual void proland::PerlinWaveTile::init | ( | string & | name, | |
int | tileSize, | |||
int | gridSize, | |||
float | waveLength, | |||
int | timeLoop | |||
) | [protected, virtual] |
Initializes the fields of a PerlinWaveTile.
See WaveTile::init().
void proland::PerlinWaveTile::init | ( | ptr< Texture2D > | tex, | |
int | size, | |||
int | numLodLevel | |||
) | [protected] |
Initializes the fields of a PerlinWaveTile.
See WaveTile::init().