MENU

Fun & Interesting

Blazingly Fast Greedy Mesher - Voxel Engine Optimizations

Tantan 186,583 12 months ago
Video Not Working? Fix It Now

This greedy mesher is blazingly fast. Written with Rust and Bevy, using clever bitwise operations we can generate chunk meshes, an average of 0.000195 per 32x32x32 mesh!!! This mesher blows most culled meshers out of the water, and I want to teach you the "secrets" of how to implement this for own voxel engine. There are 2 algorithms we'll explore: Binary greedy meshing AND binary face culling. IT'S OPEN SOURCE! https://github.com/TanTanDev/binary_greedy_mesher_demo Resources: Greedy Meshing Voxels Fast - Optimism in Design Handmade Seattle 2022: https://youtu.be/4xs66m1Of4A?feature=shared C++ binary greedy mesher repository: https://github.com/cgerikj/binary-greedy-meshing Simplified greedy mesher article: https://vercidium.com/blog/voxel-world-optimisations/ My discord group: https://discord.gg/9P8QSYf Want to support me? ⁍ XRP: rNHVVjvqhnec7ADaQ3GT3ifQ28USTantaN ⁍ Monero: 43Ktj1Bd4Nkaj4fdx6nPvBZkJewcPjxPB9nafnepM7SdGtcU6rhpxyLiV9w3k92rE1UqHTr4BNqe2ScsK1eEENvZDC3W1ur 0:00 blazingly fast 0:30 but why? 2:56 greedy meshing algorithm 4:23 indexing? 4:52 binary data 5:43 code: binary greedy meshing 7:44 chunk slicing 10:14 why it's slow 11:24 WORLDS FASTEST binary greedy mesher 19:43 why it's fast 21:01 interesting findings 22:22 resources #rustlang #gamedev #programming

Comment