Cloth Simualtion


Description


In this simulation, the cloth is being represented by 64 x 64 vertices that are connected by line segments. Every line is a constraint and every vertex is a point mass (an object with no dimension, just location and mass). Gravity and other forces such as wind force are applied to the system while the constraints keep the system intact. Each vertex is updated every frame in accordance to Verlet. This video shows cloth as well as other Verlet simulations.


Platform Used


C++ ,OpenGL ,GLSL


Demonstration





Download Source Code and Binaries