Blender Git Commit Log

Git Commits -> Revision 4a0b8c9

Revision 4a0b8c9 by Alexander Gavrilov (master)
January 8, 2021, 09:24 (GMT)
Cloth: completely exclude fully pinned triangles from collision.

Currently such triangles are effectively already excluded, because
the calculated forces are not applied to pinned vertices. However
these forces are still being computed, which is inefficient.

This adds an early check for triangles where all vertices are
pinned during BVH overlap detection, which significantly speeds
up certain use cases with big fully pinned areas that happen to
overlap a collider. In case of self collision both triangles must
be fully pinned to exclude safely, because the computation is
symmetric and handles two triangles at the same time.

Differential Revision: https://developer.blender.org/D10041

Commit Details:

Full Hash: 4a0b8c9427b57422f47c125a494c4631a6c0bfd1
Parent Commit: 8877e29
Lines Changed: +57, -18

1 Modified Path:

/source/blender/blenkernel/intern/collision.c (+57, -18) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021