r/GraphicsProgramming • u/JBikker • Sep 25 '26
TinyBVH 1.9.0 Now Available
TinyBVH is a header-only, dependency-free library for BVH construction and traversal.
Version 1.9.0 for the first time is out-performing Intel's Embree!
Using it is as simple as:
BVH bvh;
bvh.Build( (bvhvec4*)myTriData, triangleCount );
bvh.Intersect( ray );TinyBVH can be used from C/C++, WebGPU and Python. Generated BVHs can be used in OpenGL (compute), OpenCL, Vulkan and DirectX12.
New in 1.9.0:
- Greatly improved ARM NEON support for Android & macOS
- Templated doube/float support
- Ray bundle support (WiVeC), including TLAS/BLAS traversal
- Accurate voxel intersections
- Hair rendering example (roving capsules)
- Global refactoring, AI assisted
- Vulkan and DXR benchmarks
- Improved included threadpool
- Optimizations to CWBVH
- ...and lots more.
Check it out: https://github.com/jbikker/tinybvh
90
Upvotes
View all comments
Show parent comment
10
u/JBikker Sep 25 '26
It's ideas like the one in the paper that TinyBVH is after, sort of. :) Right now several algorithms are hidden in black boxes in APIs like DirectX12. TinyBVH aims to break that open so you can write novel tricks that are not limited to one vendor.
In the meantime TinyBVH supports refitting for deformations, TLAS/BLAS for everything that moves with a matrix (including instancing) and rebuilds for everything else.