Blender Git Commit Log

Git Commits -> Revision 744f81c

Revision 744f81c by Henrik Dick (master)
September 24, 2020, 18:18 (GMT)
Weld Modifier: Use KD Tree in detecting the geometry to be welded

This commit replaces the BVH Tree currently used by the Weld Modifier
with the KD Tree used by `Merge > By Distance`.

This changes the result of the Weld Modifier to more closely match
`Merge > By Distance`.

There is also a big performance advantage.

Here is an overview (models in D8995):

| 2.90 (Duplicate Limit = 0) | 2.90 (Duplicate Limit = 1) | master (BVH) (Duplicate Limit = 1) | patch (KD) |
| 1.69s| 0.17s | 0.12s | 0.029s |

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

Commit Details:

Full Hash: 744f81c936cbd946d2eb8035b9714b5f6bfbdc8c
Parent Commit: 6877a7b
Committed By: Germano Cavalcante
Lines Changed: +121, -137

3 Modified Paths:

/source/blender/makesdna/DNA_modifier_types.h (+1, -2) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+0, -9) (Diff)
/source/blender/modifiers/intern/MOD_weld.c (+120, -126) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021