Avokadoen / zig_vulkan

Toying with vulkan and zig
45 stars 1 forks source link

Dynamic BVH for empty areas #152

Open Avokadoen opened 2 years ago

Avokadoen commented 2 years ago

Use software Bounding Volume Hierarchy (and later hardware accelerated BVH for hardware that support it) for empty areas of the grid.

A empty voxel should be able to point to a BVH entry that defines empty space to accelerate traversal

Relevant article: https://jacco.ompf2.com/2022/06/03/how-to-build-a-bvh-part-9a-to-the-gpu/