Blender Git Commit Log

Git Commits -> Revision 176b806

Revision 176b806 by Campbell Barton (master)
August 20, 2015, 07:52 (GMT)
BVH-overlap: add callback to BLI_bvhtree_overlap

The callback checks if 2 nodes intersect (not just their AABB).

Advantages:
- theres no need to allocate overlaps which are later ignored.
- expensive intersection tests will run multi-threaded.

Currently only used for Python API.

Commit Details:

Full Hash: 176b806626ed62cb1bb9f609f927dc27e6e9c268
Parent Commit: 67e32b3
Lines Changed: +172, -61

6 Modified Paths:

/source/blender/blenkernel/intern/collision.c (+4, -4) (Diff)
/source/blender/blenlib/BLI_kdopbvh.h (+8, -1) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+115, -25) (Diff)
/source/blender/bmesh/tools/bmesh_intersect.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+1, -1) (Diff)
/source/blender/python/mathutils/mathutils_bvhtree.c (+43, -29) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021