ImplicitBVH v0.7.0
- Added new Leaf-vs-Tree contact and raytracing traversal algorithm which is more scalable
- Added
algas a new argument totraverse - Made
options,start_level, andcachekeyword arguments - Made Morton encoding algorithm-specific (for future e.g. extended Morton codes) and moved to
BVHOptions - Added optional narrow-phase checking function before considering a contact
- Bundled bounding volumes, their user-defined index and Morton code into a single
BoundingVolumestruct which allows in-place sorting; this makes BVH construction between frames faster when most bounding volumes are still roughly sorted
Breaking changes
- Old interfaces are kept for compatibility, but defaults are different:
BBox{Float32}nodes,UInt32Morton codes,Int32indices. BVHTraversalcan have different cache types depending on the algorithm; previous code which was not making use of internals should still work.- Removed
orderfromBVHas now vectors ofBoundingVolumeare sorted in-place
Merged pull requests: