diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2021-01-06 14:48:42 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2021-01-08 12:24:50 +0300 |
commit | 4a0b8c9427b57422f47c125a494c4631a6c0bfd1 (patch) | |
tree | e99c8bbffcf978319c78f7342006946878736e30 /source/blender/editors/io | |
parent | 8877e294dfd680f0ad9c1598b6462dd726cc46f3 (diff) |
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
Diffstat (limited to 'source/blender/editors/io')
0 files changed, 0 insertions, 0 deletions