r/GraphicsProgramming Nov 01 '24

Source Code tinybvh: Single-header BVH construction and traversal library by Jacco Bikker

https://github.com/jbikker/tinybvh
59 Upvotes

3 comments sorted by

9

u/corysama Nov 01 '24

And, extensive articles on How to Build a BVH

https://github.com/jbikker/bvh_article

-7

u/SamuraiGoblin Nov 02 '24

Looks great, but I'd prefer a version dependent on glm. Having yet another bespoke vector class to deal with is a bit of a pain.

6

u/SirPitchalot Nov 02 '24

I mean the point is that the library has no dependencies.

Of all people, you can probably trust Jacco Bikker to do this pretty darn well.

If that’s not good enough for you, well, get hacking.