Functions

GLM_GTC_noise: Procedural noise functions

GTC Extensions (Stable)

Defines 2D, 3D and 4D procedural noise functions Based on the work of Stefan Gustavson and Ashima Arts on "webgl-noise": https://github.com/ashima/webgl-noise Following Stefan Gustavson's paper "Simplex noise demystified": http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf <glm/gtc/noise.hpp> need to be included to use these functionalities. More...

Functions

template<typename T , template< typename > class vecType>
perlin (vecType< T > const &p)
template<typename T , template< typename > class vecType>
perlin (vecType< T > const &p, vecType< T > const &rep)
template<typename T , template< typename > class vecType>
simplex (vecType< T > const &p)

Detailed Description

Defines 2D, 3D and 4D procedural noise functions Based on the work of Stefan Gustavson and Ashima Arts on "webgl-noise": https://github.com/ashima/webgl-noise Following Stefan Gustavson's paper "Simplex noise demystified": http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf <glm/gtc/noise.hpp> need to be included to use these functionalities.


Function Documentation

T glm::perlin ( vecType< T > const &  p)

Classic perlin noise.

From GLM_GTC_noise extension.

T glm::perlin ( vecType< T > const &  p,
vecType< T > const &  rep 
)

Periodic perlin noise.

From GLM_GTC_noise extension.

T glm::simplex ( vecType< T > const &  p)

Simplex noise.

From GLM_GTC_noise extension.