Binary greedy mesher demo

A voxel engine project highlighting a 🔥 blazingly 🔥 fast binary greedy mesher. Written with Rust utilizing bevy game engine.

benchmarks

There are various benchmarks implemented, but only 2 are enabled. (A simple culled mesher VS the binary greedy mesher).

The project utilize the criterion library for benchmarking and it generates html report target/criterion/report.

resources I used to build this:

(video) Greedy Meshing Voxels Fast - Optimism in Design Handmade Seattle 2022 - Helped me understand Binary greedy meshing algorithm

(repo) Binary Greedy Meshing - Helped me understand binary face culling

License

binary_greedy_mesher_demo is free and open source! All code in this repository is dual-licensed under either:

at your option.

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.