Blender Git Loki
Git Commits -> Revision 6b2c3ed
Revision 6b2c3ed by Tamito Kajiyama (master) July 2, 2012, 21:38 (GMT) |
Fix for an inappropriate removal of singular points in stroke creation. The previous stroke creation procedure was trying to clean stroke topology by removing overlapping stroke vertices in the same 2D location. The idea was to avoid having to address this kind of singularity during subsequent stroke shading. In-depth analyses revealed, however, that this was a wrong way to ensure clean stroke topology, since just deleting overlapping vertices may break the continuity of the underlying series of FEdges on top of which the stroke has been built. Such a break of linked FEdges was a major cause of frequent failure in CurvePoint::getFEdge(). The present commit aims to address the singularity issue by adding small offsets to the 2D location of overlapping vertices and making them non-overlapping to each other. Since the offsets only result in sub-pixel differences, the impact on visual outcomes is expected to be negligible. |
Commit Details:
Full Hash: 6b2c3ed3a7dc44637f715f8f6180bc380f9d5529
SVN Revision: 48509
Parent Commit: 1f7ae14
Lines Changed: +116, -40
1 Modified Path:
/source/blender/freestyle/intern/stroke/Operators.cpp (+116, -40) (Diff)