Blender Git Loki

Git Commits -> Revision ef5c036

Revision ef5c036 by Antonis Ryakiotakis (master)
December 19, 2014, 11:27 (GMT)
Fix T42543 projection painting fails when faces are perpendicular to screen.

This is UV barycentric interpolation failing for triangles where vertices are
colinear in screen space. To fix this, we detect this early on so we do the
interpolation on edges instead of triangles.

Such triangles will never be painted on unless we have occlusion and culling
off (since, arguably they are self occluded and almost back-facing).

The code still does not fill the whole area but this can be checked separately.

Commit Details:

Full Hash: ef5c036d1c675ff9912ca321339a45c2ab923da9
Parent Commit: 76ccc1d
Lines Changed: +110, -35

1 Modified Path:

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