Blender Git Commit Log

Git Commits -> Revision 746f0ad

Revision 746f0ad by Campbell Barton (master)
June 13, 2014, 22:27 (GMT)
Polyfill2d: use kd-tree

Simple search for intersections became slow for larger concave ngons (100+)
Tested to work with ngons up to 75k sides, performance is approx ~6x faster then scanfill.

This is a 2D version of BLI_kdtree with modifications:
- nodes can be removed
- an index -> node map is stored (especially for tessellation)

Commit Details:

Full Hash: 746f0ad257b81e2680db10d9993c9054f059033c
Parent Commit: 19b1da2
Lines Changed: +412, -19

1 Modified Path:

/source/blender/blenlib/intern/polyfill2d.c (+412, -19) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021