omegaiota / DiffCloth

Code repository for our paper DiffCloth: Differentiable Cloth Simulation with Dry Frictional Contact
https://people.csail.mit.edu/liyifei/publication/diffcloth/
MIT License
339 stars 31 forks source link

Where do you get your bending energy formulation from ? #21

Open crtie opened 11 months ago

crtie commented 11 months ago

Hi! I'm a beginner of computer graphics. I'm watching your code about bending constraint and notice that your defination of bending energy is defined on each dihedral angular structure. I haven't learn this kind of defination before (I only knew use mean curvature to define bending energy). Could you give any explaination about this? Or tell me what article you got this idea from. thanks!

omegaiota commented 7 months ago

You can refer to the original Projective Dynamics paper for the definitions. The definition is "uncommoon" due to the limitation of the PD framework requiring all the energy forms to be in a quadratic form. But the definitions are designed to penalize stretching (for triangle) and bending between triangles (for triangle bending).