Go to file
Ton Roosendaal 964c35771c Bug fix #34177
Blender's triangulator has been rescued :)
This commit fixes errors with concave holes inside polygons.

Simple explanation:

Blender "ScanFill" works by sorting vertices from top-left to bottom-right, and connecting
these vertices with a sorted list of edges they have.

The inner loop then goes over every vertex, its edges, and tries to make triangles by
checking vertices that are next in the list.
- if the triangle has points inside: it creates an edge to this vertex, and continues
- else: add new triangle.

Very simple, fast and efficient. But it needed one more check for the first step: it should
check every vertex inside the triangle, and pick the best vertex for an edge based on forming 
the sharpest angle with the tested edge. That solves the case for concave holes.

Blender ScanFill was coded 20 years ago, and is an own invention. I wanted a triangulator that
just fills any collection of polygons, including with holes.
No idea if this was ever published in a paper!
2013-02-15 12:26:47 +00:00
build_files Buildbot: revert r54465 and r54466 -- issue was not caused by 2013-02-12 08:30:12 +00:00
doc misc changes 2013-02-14 05:02:20 +00:00
extern add missing bullet header to cmake, quiet reports from 'make test_cmake' 2013-02-06 04:16:28 +00:00
intern Fix #34205: Zooming in rendered mode during update out of sync with intended zoom 2013-02-15 09:15:14 +00:00
release Fix [#34253] UIList resize, resizes wrong list I/II 2013-02-15 08:32:25 +00:00
source Bug fix #34177 2013-02-15 12:26:47 +00:00
CMakeLists.txt removing xinerama on X11 dependency, this wasn't working very usefully. 2013-02-07 14:10:01 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile code cleanup: comment unused members of bmesh operator slots and some osl style edits. 2012-11-20 14:31:58 +00:00
SConstruct SCons: install blender thumbnailer next to blender binary. 2013-02-13 08:55:03 +00:00