Blender Git Loki

Git Commits -> Revision a5f8298

Revision a5f8298 by Tamito Kajiyama (master)
September 3, 2012, 01:01 (GMT)
Experimental fix for incorrect view edge visibility.

The problem is that the visibility of view edges in the view map may be incorrect.
The main cause of this issue is that view edges are constructed from a series of FEdges
without testing the visibility of the FEdges being concatenated. Later view edges
are split into pieces if two view edges intersect in the 2D image coordinate system.
After that the visibility of the view edges is computed by taking account of occluding
faces in the 3D scene. In many cases this procedure results in correct line visibility,
but not always (that is the problem).

A simple solution experimentally implemented here is not to chain FEdges at all.
Instead view edges are constructed from at most one FEdge now. This solution is only
applied to sharp FEdges (roughly corresponding to edges in the input mesh data; specifically,
silhouette, crease, border, edge mark, contour, external contour, and material boundary).

A better solution is to reorder the three steps of view edges construction mentioned above,
i.e., first splitting FEdges at 2D intersection, computing the visibility of the FEdges,
then concatenating them to build view edges. This solution is left for future work for now.

Commit Details:

Full Hash: a5f8298ea5d13d7707bc0cbf0722013276bab9d6
SVN Revision: 50327
Parent Commit: 141dd52
Lines Changed: +7, -0

1 Modified Path:

/source/blender/freestyle/intern/view_map/ViewEdgeXBuilder.cpp (+7, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021