Blender Git Loki

Git Commits -> Revision b963434

Revision b963434 by Antonis Ryakiotakis (master)
May 21, 2014, 16:35 (GMT)
Fix T40222 texture painting on mirrored meshes does not apply pixel
bleeding at the symmetry edges.

We need an extra way to detect if faces overlap here. An easy way is to
detect the winding of the faces in UV space. If the winding differs, the
faces will naturally overlap. I have tried a few approaches here such as
choosing an offset point from the middle of the edge for intersection in
both faces of the edge in uv space, but winding is the safest way and
should work with very small faces/dense meshes too.

Commit Details:

Full Hash: b963434f4965ca348c00b34e3aea5d7ab7374c71
Parent Commit: e07034f
Lines Changed: +37, -0

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_image_proj.c (+37, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021