Simple voxel-space terrain renderer in Rust (minifb + image).
This project renders a heightmap-based landscape in real time with a classic voxel-space approach.
Inspired by: s-macke/VoxelSpace
- Heightmap + colormap terrain rendering
- First-person camera movement
- Keyboard controls for navigation
- Build script that copies non-
.rsfiles fromsrc/near the executable
W/S- move forward / backwardA/D- rotate left / rightSpace/LeftShift- move up / downEsc- close window
cargo runBuild debug binary:
cargo buildAfter build, runtime assets are available near the binary in target/debug/src/... (copied automatically by build.rs).
Performance note: non---release builds can be significantly slower, because rendering is CPU-bound.
For better FPS, use:
cargo run --release- Rust 2024 edition
minifbimagelerp
This project is dual-licensed under open-source licenses:
- Apache License 2.0
- MIT License
You may choose either license for use, modification, and distribution.
