← All repos

mountains

A web-based terrain rendering engine, currently showcasing the French Alps.

Browse cluster: Cluster 69
391commits
1contributors
8languages

Tech stack & purpose

Mountains is a web-based terrain rendering engine for visualizing landscapes from Digital Elevation Models, currently showcasing the French Alps. The application is written primarily in OCaml, compiled to JavaScript and WebAssembly via `js_of_ocaml` and `wasm_of_ocaml`, and rendered using WebGL for modern browsers, with legacy support for a native desktop client using SDL2 and OpenGLES 3.0. It features advanced rendering techniques including radial clipmaps for level-of-detail, cascaded shadow maps, atmospheric effects, and triplanar texturing, along with mobile support including device orientation control and geolocation. The project includes a comprehensive data pipeline for processing CORINE Land Cover data, Digital Elevation Models from Copernicus and RGE ALTI, and water bodies from OpenStreetMap, built with the Dune build system.

Languages

OCaml
81.4%
HTML
6.5%
GLSL
6.3%
WebAssembly
5.1%
Pawn
0.4%
Shell
0.2%
JavaScript
0.1%
Dune
0.0%

Contributors