Add radius and falloff options to mesh deform binding mode.
Currently mesh deform binder is pretty slow,
a attempt was made in the past to accelerate it but apparently it too had issues, developer.blender.org/rBS984e9f9cc8eee131c6602b326e588d2903eda90a
I purpose we use the same idea *(accelerate the binding using bvhtree)
but in a different manner, basically we use find_nearest_range() to get the faces to compare to the cage vertex instead of comparing to all vertex and we use the radius to cull vertex outside the radius, and also get the return distance in the data as a bonus making it much faster there. (and potentially saving a bunch of memory I think)
falloff weighting could also be applied potentially like vertex hooks
0 Comments