Nv::Blast::SimplexNoise Class Reference

#include <NvBlastExtAuthoringPerlinNoise.h>

List of all members.

Public Member Functions

physx::PxVec4 eval4D (float x, float y, float z, float w, int seed)
float sample (physx::PxVec3 p)
 SimplexNoise (float ampl, float freq, int32_t octaves, int32_t seed)


Detailed Description

Simplex noise generation tool

Constructor & Destructor Documentation

Nv::Blast::SimplexNoise::SimplexNoise ( float  ampl,
float  freq,
int32_t  octaves,
int32_t  seed 
) [inline]

Parameters:
[in] ampl Amplitude of noise
[in] freq Frequency of noise
[in] octaves Number of noise octaves
[in] seed Random seed value


Member Function Documentation

physx::PxVec4 Nv::Blast::SimplexNoise::eval4D ( float  x,
float  y,
float  z,
float  w,
int  seed 
) [inline]

Evaluate noise at given 4d-point

Parameters:
[in] x x coordinate of point
[in] y y coordinate of point
[in] z z coordinate of point
[in] w w coordinate of point
[in] seed Random seed value
Returns:
Noise valued vector (x,y,z) and scalar (w)

float Nv::Blast::SimplexNoise::sample ( physx::PxVec3  p  )  [inline]

Evaluate noise at given 3d-point

Parameters:
[in] p Point in which noise will be evaluated
Returns:
Noise value at given point


The documentation for this class was generated from the following file: