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
Hi, not finding the difference between VoxelMesh::NormalCube and VoxelMesh::CustomMesh. I'd have expected NormalCube to just use a default cube or something, but it takes a Mesh just like CustomMesh. The other guess would've been occluding other voxels, but VoxelRegistry takes care of that. VoxelMesh itself doesn't have a doc comment. Could you explain what the difference is? I'd be happy to PR adding a doc comment to the enum afterwards.
The mesh you should supply NormalCube is from generate_voxel_mesh. mesh_grid will only cull properly VoxelMesh::NormalCubes. The output Mesh will not include voxels that aren't normal cubes.
Hi, not finding the difference between
VoxelMesh::NormalCube
andVoxelMesh::CustomMesh
. I'd have expectedNormalCube
to just use a default cube or something, but it takes aMesh
just likeCustomMesh
. The other guess would've been occluding other voxels, butVoxelRegistry
takes care of that.VoxelMesh
itself doesn't have a doc comment. Could you explain what the difference is? I'd be happy to PR adding a doc comment to the enum afterwards.