Blender Git Commit Log

Git Commits -> Revision b01a56e

Revision b01a56e by Germano Cavalcante (master)
June 30, 2016, 07:52 (GMT)
Transform Snap: Optimize edge-snap using BVH tree

changes in BLI_kdopbvh:

- `BLI_bvhtree_find_nearest_to_ray` now takes is_ray_normalized and scale argument.
- `BLI_bvhtree_find_nearest_to_ray_angle` has been added (use for perspective view).

changes in BLI_bvhutils:

- `bvhtree_from_editmesh_edges_ex` was added.

changes in math_geom:

- `dist_squared_ray_to_seg_v3` was added.

other changes:

- `do_ray_start_correction` is no longer necessary to snap to verts.
- the way in which the test of depth was done before is being simulated in callbacks.

Commit Details:

Full Hash: b01a56ee5c45b51e522c54c72b327c9aba34dff3
Parent Commit: 9d5661c
Committed By: Campbell Barton
Lines Changed: +1209, -256

7 Modified Paths:

/source/blender/blenkernel/BKE_bvhutils.h (+8, -0) (Diff)
/source/blender/blenkernel/intern/bvhutils.c (+71, -0) (Diff)
/source/blender/blenlib/BLI_kdopbvh.h (+11, -2) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+7, -0) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+389, -27) (Diff)
/source/blender/blenlib/intern/math_geom.c (+61, -0) (Diff)
/source/blender/editors/transform/transform_snap_object.c (+662, -227) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021