agargaro/BVH.js
agargaro/BVH.js has 48 GitHub stars and 7 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 04:36 UTC. Last push 2026-10-26.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Dynamic BVH implementation based on Erin Catto's paper and three-mesh-bvh
Creative & MediaREADME.md
OriginalWork in progress... will be released soon :)
Live example: https://stackblitz.com/edit/three-ezinstancedmesh2-dynamic-bvh?file=index.ts
Create a BVH from a AABB array. You can set whetever value to each node.
Build method: top-down or insertion one by one.
Implemented API:
createFromArray
insert
insertRange
move
delete
clear
traverse
rayIntersections
frustumCulling
frustumCullingLOD
closestPointToPoint
intersectsBox
intersectsSphere
intersectsRay
isNodeIntersected
TODO:
traverseByScore
intersectsRayFirst
intersectsBVH
closestPointToBVH
getAllCollision
getNearestObject
experiment rotation with N leaves and max depth