obvhs

Crates.ioobvhs
lib.rsobvhs
version0.1.0
sourcesrc
created_at2024-07-25 19:10:18.615777
updated_at2024-07-25 19:10:18.615777
descriptionBVH Construction and Traversal Library
homepagehttps://github.com/DGriffin91/obvhs
repositoryhttps://github.com/DGriffin91/obvhs
max_upload_size
id1315361
size1,283,237
Griffin (DGriffin91)

documentation

README

OBVHS - BVH Construction and Traversal Library

  • 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.
  • 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. Many parts of the building process are parallelized, but single threaded building speed has initally been the priority so there is still quite a bit of room for improvement in parallel building performance.

Benchmarks

See Tray Racing.

Acknowledgments

Commit count: 0

cargo fmt