Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021