Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-07-03 01:38:18 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-07-03 01:38:18 +0400
commit6b2c3ed3a7dc44637f715f8f6180bc380f9d5529 (patch)
tree14a26bcc30b029d13bb74fd8179b1eba23d7c6f7 /source/blender/freestyle/intern/stroke/Stroke.cpp
parent1f7ae143a29b090ed97cdd7eb47a9c2dbd7f72a2 (diff)
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.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Stroke.cpp')
0 files changed, 0 insertions, 0 deletions