mirror of
https://github.com/eliasstepanik/voxel-simulation.git
synced 2026-01-09 21:08:31 +00:00
2.1 KiB
2.1 KiB
voxel-simulation
Voxel Simulation is an experimental 3D world built with the Bevy game engine. The project showcases streaming voxel terrain, high precision coordinates via the big_space crate and various debug tools.
Features
- Load/Save System
- Streaming voxel terrain with adjustable level of detail
- High precision world coordinates using
big_space - Planet generation using noise based deformation
- Flight-style camera and basic UI
- Debug helpers for wireframes, world grid and voxel editing
Controls
- WASD – Move horizontally
- Space / Shift – Ascend/descend
- Mouse – Look around (press L to toggle mouse capture)
- Mouse wheel – Adjust movement speed
- F2 – Toggle octree wireframe
- F3 – Toggle world grid
- Q – Insert a red voxel at the crosshair
- F4 – Save the current octree to
octree.bin - F5 – Toggle sphere editing mode
- Escape – Quit the application
Running
Execute the following command from the repository root to compile and launch the demo:
cargo run --release -p voxel-simulation
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
See CONTRIBUTING.md.
