HighMap is a C++ library for procedural generation, simulation, and analysis of 2D heightmaps and terrain assets.
A heightmap is a two-dimensional grid of elevation values. Each cell corresponds to a spatial position, with values typically normalized to $[0, 1]$ or expressed in world elevation units.
Heightmap and 3D rendering.
Documentation
Getting Started
Documentation for new users:
- Quickstart: Minimal working example, CMake integration, and common operations.
- Core Concepts: Elevation data structures (Array, HeightMap, VirtualArray), bivariate functions, vector primitives, and entity scattering.
Developer Documentation
Documentation on codebase architecture, design, and experimental research:
- Architecture Overview: Module hierarchy, layered subsystem design, and architectural principles.
- Tiled Communication & Overlap Synchronization: Collective communication interface (ICommunicator), sequential cooperative scheduler, and halo buffer synchronization.
- Hydraulic Erosion Models Comparison: Side-by-side visual and qualitative comparison between particle, stream log, and MISE models.
- Hydraulic Particle Erosion: Simulation model, kinematics, sediment transport equations, and implementation details.
- Hydraulic Stream Log Erosion: Continuous D-infinity stream power erosion, logarithmic discharge scaling, and multiscale pyramid.
- Multiscale Implicit Stream-Power Erosion (MISE): Coupled bedrock incision, hillslope debris cascades, sediment conservation, and implicit solver.
- Thermal Weathering and Talus Erosion: Comprehensive survey of thermal erosion models (Standard, Conserve, Schott, Olsen, Ridge, Flatten, and Rib) with comparative visualizations.
- Investigations & Benchmarks:
Installation
For build prerequisites and installation instructions, refer to the repository README: https://github.com/otto-link/HighMap