December 5, 2016, 15:01 (GMT) |
Scale damping by spring length as well I had forgotten to scale the damping forces... This made for uneven damping on irregular meshes. |
December 5, 2016, 14:58 (GMT) |
Fix previous error with spring length scaling Zero-length springs weren't being scaled properly, leading to phantom forces that introduced rigid-body motion into the simulation. |
December 5, 2016, 14:15 (GMT) |
Implement improved compression model This implements the Choi and Ko compression model, with an added damping component, instead of using the same model as for tension, which improves stability of the internal forces. |
December 4, 2016, 03:49 (GMT) |
Code clean-up (remove unnecessary struct members and add comments) Spring forces and jacobians (f, dfdx and dfdv), were unnecessarily being stored in sring struct. They are only used locally at computation time, and don't have to remain in memory. editrestlen was unused. |
December 1, 2016, 12:15 (GMT) |
Implement separate tension and compression components |
November 30, 2016, 19:44 (GMT) |
Separate shear damping from structural damping |
November 30, 2016, 19:05 (GMT) |
Make structural springs act in both extension and compression |
November 30, 2016, 19:04 (GMT) |
Fix spring force scaling based on length |
November 30, 2016, 02:26 (GMT) |
Separate cloth shear from structural stiffness |
|