Blender Git Loki
Git Commits -> Revision c0340ec
Revision c0340ec by Germano Cavalcante (master) August 10, 2020, 15:05 (GMT) |
Fix T78113: Random explosions of cloth with self collision The problem is caused by a lack of prediction in the `isect_line_segment_tri_v3` that incorrectly confirms some intersections of coplanar segments to the triangle. The solution is to use another algorithm to detect intersections. This also resulted in a slight improvement in the performance: - 1min 17sec to 1min 6sec in my test file Differential Revision: https://developer.blender.org/D8500 |
Commit Details:
Full Hash: c0340ec89393055bbb0ba0432b9edb5d70b3711c
Parent Commit: ab2dbaf
Lines Changed: +175, -130
6 Modified Paths:
/source/blender/blenkernel/intern/collision.c (+11, -30) (Diff)
/source/blender/blenkernel/intern/editmesh_bvh.c (+1, -2) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+13, -9) (Diff)
/source/blender/blenlib/intern/math_geom.c (+147, -85) (Diff)
/source/blender/draw/intern/draw_cache_extract_mesh.c (+1, -2) (Diff)
/source/blender/python/mathutils/mathutils_bvhtree.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/editmesh_bvh.c (+1, -2) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+13, -9) (Diff)
/source/blender/blenlib/intern/math_geom.c (+147, -85) (Diff)
/source/blender/draw/intern/draw_cache_extract_mesh.c (+1, -2) (Diff)
/source/blender/python/mathutils/mathutils_bvhtree.c (+2, -2) (Diff)