6 releases

Uses new Rust 2024

0.3.1 Mar 28, 2026
0.3.0 Feb 1, 2026
0.2.2 Oct 29, 2025
0.2.1 Jul 9, 2025
0.1.0 Jul 25, 2024

#132 in Graphics APIs

Download history 295/week @ 2026-02-21 372/week @ 2026-02-28 703/week @ 2026-03-07 1088/week @ 2026-03-14 2097/week @ 2026-03-21 3185/week @ 2026-03-28 3787/week @ 2026-04-04 3202/week @ 2026-04-11 2550/week @ 2026-04-18 2392/week @ 2026-04-25 2342/week @ 2026-05-02 6125/week @ 2026-05-09 6309/week @ 2026-05-16 4989/week @ 2026-05-23 4244/week @ 2026-05-30 3149/week @ 2026-06-06

19,977 downloads per month
Used in 25 crates (4 directly)

MIT/Apache

2MB
6K SLoC

OBVHS - BVH Construction and Traversal Library

License Crates.io Docs

  • PLOC BVH2 builder with Parallel Reinsertion and spatial pre-splits.
  • CWBVH An eight-way compressed wide BVH8 builder. Each BVH Node is compressed so that it takes up only 80 bytes per node.
  • Tools for dynamically updating and optimizing the BVH2. (Added in 0.3)
  • CPU traversal for both BVH2 and CWBVH (SIMD traversal, intersecting 4 nodes at a time)
  • For GPU traversal example, see the Tray Racing benchmark

demo demoscene example

OBVHS optionally uses rayon to parallelize building.

Benchmarks

See Tray Racing.

Acknowledgments

Dependencies

~7–23MB
~327K SLoC