|
| SimplexTurbulence2 (const double &, const double &, const double &, const double &=0.5, const double &=0.5, int=8, const Vector2 &=Vector::Null) |
| Create a scaled turbulence. More...
|
|
| SimplexTurbulence2 () |
| Unit turbulence.
|
|
| ~SimplexTurbulence2 () |
| Empty.
|
|
double | Value (const Vector2 &) const |
| Compute the simplex noise at a given point. More...
|
|
double | GetAlpha () const |
| Return the amplitude dampening coefficient.
|
|
double | GetLambda () const |
| Return the wavelength dampening coefficient.
|
|
double | GetOctaves () const |
| Number of octaves.
|
|
double | K () const |
| Return the global Lipschitz constant. More...
|
|
double | Maximum () const |
| Return the maximum of the turbulence.
|
|
virtual ScalarField2 | Sample (const Array2 &) const |
| Create a discrete scalar field by sampling a given domain. More...
|
|
|
double | UnitAt (const Vector2 &) const |
| Compute the turbulence value at a given point. More...
|
|
double | dot (const int *, const double &, const double &) const |
| Scalar product.
|
|
| SimplexNoise2 () |
| Empty.
|
|
| ~SimplexNoise2 () |
| Empty.
|
|
double | K () const |
| Return the global Lipschitz constant of the noise.
|
|
Matrix | Local (const Vector2 &) const |
| Compute the local neighborhood in the one-ring aroung a point. More...
|
|
| AnalyticScalarField2 () |
| Create an analytic scalar field defined over the entire plane.
|
|
virtual Vector2 | Gradient (const Vector2 &) const |
| Compute the gradient of the field. More...
|
|
virtual Matrix2 | Hessian (const Vector2 &) const |
| Compute the hessian at a given point. More...
|
|
void | Curvature (const Vector2 &, double &, double &) const |
| Compute the gaussian and mean curvatures. More...
|
|
virtual Box2 | GetBox () const |
| Return the bounding box.
|
|
Fractal Brownian motion from a simplex noise function.
A turbulence field is characterized by the number of octaves, the attenuation of the amplitude of the noise summed at every step, and by the amplification of the wavelength.