MCPcopy Index your code
hub / github.com/DGriffin91/obvhs

github.com/DGriffin91/obvhs @v0.3.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.2 ↗ · + Follow
407 symbols 1,279 edges 32 files 95 documented · 23% updated 10d ago★ 106
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 219
Function 138
Class 41
Interface 5
Enum 4

Languages

Rust100%

Modules by API surface

src/aabb.rs38 symbols
src/bvh2/mod.rs35 symbols
src/ploc/mod.rs27 symbols
examples/physics.rs26 symbols
src/test_util.rs24 symbols
src/cwbvh/mod.rs24 symbols
examples/helpers/debug.rs24 symbols
src/faststack.rs21 symbols
src/cwbvh/node.rs17 symbols
src/bvh2/node.rs17 symbols
tests/mod.rs16 symbols
src/lib.rs14 symbols

For agents

$ claude mcp add obvhs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page