Adamkob12 / Meshem

Bevy Meshem is a Rust crate designed to provide meshing algorithms for voxel grids, enabling you to create cohesive 3D mesh structures from a grid of cubic voxels
https://crates.io/crates/bevy_meshem
Apache License 2.0
61 stars 3 forks source link

Benchmark against bonsairobo/block-mesh-rs ? #9

Open Inspirateur opened 5 months ago

Inspirateur commented 5 months ago

Hi, I'm building a bevy voxel game myself and I currently use https://github.com/bonsairobo/block-mesh-rs for meshing. block-mesh seems less user friendly than this crate and doesn't support mesh editing or Minecraft AO (although it does do greedy meshing).

For these reasons I'm considering switching to this crate, but I'd love to see some meshing benchmarks to make a choice ! (particularly on culled mesh between the 2 crates and also edits vs remeshing)

I'm sure this would interest other potential users as well hence this issue :)

Adamkob12 commented 5 months ago

I've considered adding benchmarks, I agree its important. In the meantime, if you'd like to see how the crate holds up in real voxel game, you're welcome to take a look at this.

When it comes to greedy meshing - I've found that the algorithm isn't suitable for most voxel games because it destroys textures (specifically, the UV coordinates of vertices), so I haven't put it in.