Demo of simulated cloth

For the Mass-Spring Cloth Simulation, we use the following equations to calculate the force vector between two connected masses:

Due to the limit of mass-spring systems, there are some obvious artifacts in the simulation - like lack of stretching force and excess of bending force. However, finite element method nicely solved the above problems from a energy condition approaches.

Below are the equations we used for FEM cloth simulation:

**Mesh Deformation Condition**:

**Stretching Force**:

**Stretching Damping Force**:

**Sheering Force**:

**Bending Force Directions**:

**Bending Force Magnitude**:

**Bending Damping Force**:

We use verlet integration since it works nice with moderate time step, and the calculation in each time step is in acceptable range.

FEM cloth simulation is implemented with OpenMP to accelerate the calculation speed in each timestep.

Also, our simulator could output each frame as an image file or an .obj file, and **the obj data file could be serialized into our global illumination renderer**.

Here are two videos showing rendered cloth simulation videos.

*Breeze*

*Gravity*

**Acknowledgments**:
During the development of this project, we are instructed by Professor James O’Brien and our GSI Jiamin Bai and Brandon Wang. We have also gained instructions from Professor Nancy Pollard’s *course assignment*, Professor David Baraff’s *Large steps in cloth simulation*, and Professor Robert Bridson’s *Simulation of Clothing with Folds and Wrinkles*.