|
HighMap library (C++)
|
Defines modular function objects for procedural generation, including noise algorithms (Perlin, Simplex, Worley), geometric primitives (disks, waves, slopes), and fractal compositions (FBM, IQ, Swiss). Provides parameter control for frequency, seeding, and layer blending to construct complex procedural patterns. More...
Go to the source code of this file.
Classes | |
| class | hmap::ArrayFunction |
| Array (x, y) function class. More... | |
| class | hmap::BiquadFunction |
| Biquad (x, y) function class. More... | |
| class | hmap::BumpFunction |
| Bump (x, y) function class. More... | |
| class | hmap::CraterFunction |
| Crater (x, y) function class. More... | |
| class | hmap::DiskFunction |
| DiskFunction (x, y) function class. More... | |
| class | hmap::GaussianPulseFunction |
| GaussianPulse (x, y) function class. More... | |
| class | hmap::QuadSurfaceFunction |
| Quadratic surface function defined by four corner values. More... | |
| class | hmap::RectangleFunction |
| RectangleFunction (x, y) function class. More... | |
| class | hmap::RiftFunction |
| Rift (x, y) function class. More... | |
| class | hmap::SlopeFunction |
| Slope (x, y) function class. More... | |
| class | hmap::StepFunction |
| Step (x, y) function class. More... | |
| class | hmap::WaveDuneFunction |
| Wave dune (x, y) function class. More... | |
| class | hmap::WaveSineFunction |
| Wave sine (x, y) function class. More... | |
| class | hmap::WaveSquareFunction |
| Wave square (x, y) function class. More... | |
| class | hmap::WaveTriangularFunction |
| Wave triangular (x, y) function class. More... | |
| class | hmap::NoiseFunction |
| A class for generating noise functions. More... | |
| class | hmap::ParberryFunction |
| Parberry (x, y) function class. More... | |
| class | hmap::PerlinFunction |
| Perlin (x, y) function class. More... | |
| class | hmap::PerlinBillowFunction |
| Perlin 'billow' (x, y) function class. More... | |
| class | hmap::PerlinHalfFunction |
| Perlin 'half' (x, y) function class. More... | |
| class | hmap::PerlinMixFunction |
| Perlin 'mix' (x, y) function class. More... | |
| class | hmap::Simplex2Function |
| OpenSimplex2 (x, y) function class. More... | |
| class | hmap::Simplex2SFunction |
| OpenSimplex2S (x, y) function class. More... | |
| class | hmap::ValueNoiseFunction |
| Value noise (x, y) function class. More... | |
| class | hmap::ValueCubicNoiseFunction |
| Value Cubic noise (x, y) function class. More... | |
| class | hmap::ValueDelaunayNoiseFunction |
| ValueDelaunayNoise (x, y) function class. More... | |
| class | hmap::ValueLinearNoiseFunction |
| ValueLinearNoiseFunction (x, y) function class. More... | |
| class | hmap::WorleyFunction |
| Worley (x, y) function class. More... | |
| class | hmap::WorleyDoubleFunction |
| Worley (x, y) function class. More... | |
| class | hmap::GenericFractalFunction< BaseFn > |
| A class for generating fractal noise functions based on an underlying noise function. More... | |
| class | hmap::FbmFunction< BaseFn > |
| Fractional Brownian Motion (FBM) function class. More... | |
| class | hmap::FbmIqFunction< BaseFn > |
| IQ layering function class. More... | |
| class | hmap::FbmJordanFunction< BaseFn > |
| Jordan layering function class. More... | |
| class | hmap::FbmPingpongFunction< BaseFn > |
| Pingpong layering function class. More... | |
| class | hmap::FbmRidgedFunction< BaseFn > |
| Ridged layering function class. More... | |
| class | hmap::FbmSlopeFunction< BaseFn > |
| Slope-weighted FBM layering function class. More... | |
| class | hmap::FbmSwissFunction< BaseFn > |
| Swiss layering function class. More... | |
| class | hmap::FieldFunction< BaseFn > |
| Field function class. More... | |
Namespaces | |
| namespace | hmap |
Enumerations | |
| enum | hmap::NoiseType : int { hmap::PARBERRY , hmap::PERLIN , hmap::PERLIN_BILLOW , hmap::PERLIN_HALF , hmap::SIMPLEX2 , hmap::SIMPLEX2S , hmap::VALUE , hmap::VALUE_CUBIC , hmap::VALUE_DELAUNAY , hmap::VALUE_LINEAR , hmap::WORLEY , hmap::WORLEY_DOUBLE , hmap::WORLEY_VALUE } |
| Enumeration of various noise types used for procedural generation. More... | |
Functions | |
| std::function< float(float, float)> | hmap::make_xy_function_from_array (const Array &array, const BBox2D &bbox=BBox2D::unit()) |
| Create a continuous 2D function from a sampled array. | |
| template<typename Fn> | |
| decltype(auto) | hmap::with_noise_function (NoiseType noise_type, glm::vec2 kw, std::uint32_t seed, Fn &&fn) |
| Dispatch a noise functor based on the specified noise type. | |
Defines modular function objects for procedural generation, including noise algorithms (Perlin, Simplex, Worley), geometric primitives (disks, waves, slopes), and fractal compositions (FBM, IQ, Swiss). Provides parameter control for frequency, seeding, and layer blending to construct complex procedural patterns.