genpark-bvh-bounding-volume-hierarchy-ray-tracer-skill
mcp
Warn
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Pass
- Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Bounding Volume Hierarchy (BVH) ray-box intersection engine using slab method for fast ray tracing
README.md
BVH Ray-AABB Intersection Skill
High-efficiency, zero-dependency Python implementation of BVH Ray-AABB Slab Intersection for real-time ray tracing and rendering acceleration.
Features
- Slab Method Intersection: Computes coordinate interval overlaps across 3D planes without trigonometric functions.
- Fast Hit Distance: Evaluates closest entry distance (t_{\min}) for sorting ray traversal stacks.
- Zero External Dependencies: Pure Python standard library.
- Native MCP Protocol: JSON-RPC 2.0 stdio server compatible with Claude Desktop, Cursor, and Windsurf.
Architecture
graph LR
Ray["Ray (Origin + t*Dir)"] --> SlabX["X-Axis Slab [t_1x, t_2x]"]
Ray --> SlabY["Y-Axis Slab [t_1y, t_2y]"]
Ray --> SlabZ["Z-Axis Slab [t_1z, t_2z]"]
SlabX & SlabY & SlabZ --> IntervalOverlap["t_enter <= t_exit and t_exit >= 0"]
IntervalOverlap --> Hit["Ray Hits Bounding Box"]
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found