agargaro/BVH.js
Sobre
Dynamic BVH implementation based on Erin Catto's paper and three-mesh-bvh
Design e mídiaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.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
References
Explore projetos relacionados
Carregando…