Blender Git Loki

Git Commits -> Revision efb20da

Revision efb20da by Antonis Ryakiotakis (master)
February 19, 2015, 15:48 (GMT)
Fix T43735 painting on perpendicular to the screen polygons is
problematic (still!)

It seems due to floating point precision issues we have to account for
even more cases.

Added colinear check for one more triangle edge-vertex and assumed that
if no collision test is found then triangle is completely inside box.

Such cases are mostly from float precision not catching triangle just
outside bucket. Now tests are much better for simple tests (paint/flood
fill cube from ortho view, paint sphere), however there are still some
rare cases of stray pixels.

Commit Details:

Full Hash: efb20dacc6561cee831f1dfc546ef33083d4df80
Parent Commit: 7f406a5
Lines Changed: +24, -11

1 Modified Path:

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