A little test following the ideas in Meshless Deformation Based On Shape Matching.
It's a bit of a mess at the moment, as I got hit by the bug described in these comments:
-- cf. https://github.com/danielflower/MeshlessDeformations/blob/master/MeshlessDeformations/DeformableObject.cpp#L127
-- also section 3.1 of the accompanying "MeshlessDeformationsReport.pdf"
and thus the lingering debug print
s and WithIntegration
stuff. (Does indeed seem stable now, though.)
More interesting might be to do spring-based handles like in the paper's video (found on the author's publications page) and drag it around, possibly for decent cloth or jelly mechanics.
Quadratic interpolation, clustering, and plasticity NYI.