diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2021-02-07 19:25:07 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2021-02-07 19:25:07 +0300 |
commit | 6f63417b500d0893e89fef1ecddb9ff345322e96 (patch) | |
tree | 328da05dd8b8479793b2042bc8ced5cbf62c5254 /source/blender/editors/sculpt_paint/paint_mask.c | |
parent | 71e63153ebf3668c6552afda5acfc746dcc49853 (diff) |
Fix T84493 et al: New Boolean on Suzanne.
While Boolean is not guaranteed to work if the operands are not
volume-enclosing (technically: PWN - piecewise constant winding number),
it needs to do something in those cases. This change makes
more cases meet user expectations in T84493, T64544, T83403,
T82642 (though very slow on that one).
The original new boolean code used "generalized winding number"
for this fallback; replaced this with code that uses raycasting.
Raycasting would have been faster, but for unfortunately also
switchd to per-triangle tests rather than per-patch tests since
it is possible (e.g., with Suzanne) to have patches that are
both inside and outside the other shape. That can make it much
slower in some cases, sadly.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_mask.c')
0 files changed, 0 insertions, 0 deletions