Blender Git Loki
Git Commits -> Revision c6e5f6a
Revision c6e5f6a by Lukas Toenne (master) January 20, 2015, 08:29 (GMT) |
Fixed implementation of the Conjugate Gradient method for the cloth solver that properly supports constraints with some degrees-of-freedom. The previous solver implementation only used the S matrix (constraint filter matrix) for pinning vertices, in which case all elements are zero and the error doesn't show up. With partial constraints (useful for collision contacts) the matrix has non-zero off-diagonal elements and the algorithm easily diverges. There are also initial steps for implementing collision prevention as described in the Baraff/Witkin paper "Large Steps in Cloth Simulation" (http://www.cs.cmu.edu/~baraff/papers/sig98.pdf). |
Commit Details:
Full Hash: c6e5f6afe0072bebc1fe262e3a671ce2777b382f
Parent Commit: b386633
Lines Changed: +103, -12