67 #ifndef _graphicsproceduralnoisegenerator_h
68 #define _graphicsproceduralnoisegenerator_h
70 #include "Graphics/Procedural/Texture/texturegenerator.h"
103 void FitToRange(NoiseField& ToNormalize,
const Real MinVal,
const Real MaxVal)
const;
109 NoiseField GeneratePerlinNoiseField(
const Whole X,
const Whole Y)
const;
115 NoiseField GenerateWhiteNoiseField(
const Whole X,
const Whole Y)
const;
126 virtual void AddToTextureBuffer(
TextureBuffer& Buffer)
const;
128 virtual String GetName()
const;
Procedural::NoiseType NType
The type of noise generator to use when generating the image.
This is a simple class for holding 4 reals representing the colour any give object or lightsource can...
float Real
A Datatype used to represent a real floating point number.
Fills full image with noise in a given colour.
std::vector< Real > NoiseField
Convenience typedef for a container of generated noise.
NoiseType
An enum used to describe the different types of noise generators.
A convenience buffer that stores pixel colour values of a texture to be generated.
The bulk of the engine components go in this namspace.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
ColourValue GenColour
The colour of the noise to be generated.
Whole GenSeed
The seed to be used for the random number generator.
std::string String
A datatype used to a series of characters.
A base class for texture generators that use the TextureBuffer class.