Files
Grim_Rune_Terrain_Generator/README.md
T

31 lines
1.0 KiB
Markdown
Raw Normal View History

2026-04-21 15:01:00 +02:00
# advanced_erosion_terrain_heightmap_generation
2026-04-21 14:01:33 -05:00
A standalone Rust terrain generator using `egui`, inspired by Runevision's fast erosion filter and the reference material in `plan/`.
2026-04-21 12:43:41 -05:00
See here:
2026-04-21 14:01:33 -05:00
2026-04-21 12:43:41 -05:00
https://www.shadertoy.com/view/wXcfWn
https://www.shadertoy.com/view/sf23W1
https://blog.runevision.com/2026/03/fast-and-gorgeous-erosion-filter.html
2026-04-21 14:01:33 -05:00
## Project layout
2026-04-21 12:43:41 -05:00
2026-04-21 14:01:33 -05:00
- `src/` contains the standalone Rust app and generator implementation.
- `tests/erosion_prototype.py` is the Python reference prototype used to guide the Rust port.
- `plan/` contains the inspiration and reference documents for the terrain look.
2026-04-21 12:43:41 -05:00
2026-04-21 14:01:33 -05:00
## Running
2026-04-21 12:43:41 -05:00
2026-04-21 14:01:33 -05:00
```bash
cargo run
```
2026-04-21 12:43:41 -05:00
## Current UI
2026-04-21 14:01:33 -05:00
The app uses an `egui` desktop interface with:
2026-04-21 12:43:41 -05:00
2026-04-21 14:01:33 -05:00
- A left control panel with `Generation` and `Advanced` tabs
- Generation controls for image width, image height, generation scale, erosion scale, and random seed
- Advanced controls for strength, gully weight, detail, and octaves
- A right preview area showing both the normalized heightmap and the shaded bumpmap