Blender Git Loki

Git Commits -> Revision 6f63417

Revision 6f63417 by Howard Trickey (master)
February 7, 2021, 16:25 (GMT)
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.

Commit Details:

Full Hash: 6f63417b500d0893e89fef1ecddb9ff345322e96
Parent Commit: 71e6315
Lines Changed: +210, -141

2 Modified Paths:

/source/blender/blenlib/intern/mesh_boolean.cc (+207, -141) (Diff)
/source/blender/bmesh/tools/bmesh_bevel.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021