Functions
GLM_GTX_noise: Procedural noise functions
GTX Extensions (Experimental)

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 Defines the half-precision floating-point type, along with various typedefs for vectors and matrices. 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 Defines the half-precision floating-point type, along with various typedefs for vectors and matrices.

<glm/gtx/noise.hpp> need to be included to use these functionalities.


Function Documentation

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

Classic perlin noise.

From GLM_GTX_noise extension.

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

Periodic perlin noise.

From GLM_GTX_noise extension.

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

Simplex noise.

From GLM_GTX_noise extension.