Blender Git Loki

Git Commits -> Revision 8cbf402

Revision 8cbf402 by Germano Cavalcante (master)
May 14, 2018, 19:01 (GMT)
New function for BLI_kdopbvh: `BLI_bvhtree_find_nearest_projected`.

This patch does not make any difference for a user's POV. But it is a step for adding the occlusion test for snapping functions.
This new function finds the node(aabb) whose projection is closest to a screen coordinate.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Tags: #bf_blender_2.8

Differential Revision: https://developer.blender.org/D3180

Commit Details:

Full Hash: 8cbf402eb61bde42c63963eb092bf6722516280b
Parent Commit: 70a6006
Lines Changed: +307, -73

4 Modified Paths:

/source/blender/blenlib/BLI_kdopbvh.h (+11, -0) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+12, -1) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+198, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+86, -72) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021