Website powered by

Dynamic Cloth Simulation

A cloth simulation running on my OpenGL engine. The simulation itself uses verlet integration, the mesh is then dynamically updated to follow the nodes being moved around. Some more additional features are listed below:

- Collision (Pyramid, Capsule, Sphere, Floor)
- Ripping connections dynamically if they go beyond a threshold
- Global and local wind (Local in a rectangle defined area)
- Removing nodes on mouse location
- Dragging nodes around using the mouse
- Burning the cloth
- Regenerating the cloth at runtime with different dimensions and constraints

Collision with:
 - Pyramid
 - Capsule
 - Sphere
 - Floor Plane

Collision with:
- Pyramid
- Capsule
- Sphere
- Floor Plane

Dragging the points around using the mouse

Dragging the points around using the mouse

Ripping the cloth based on the mouse location

Ripping the cloth based on the mouse location

Verlet physics swaying the cloth

Verlet physics swaying the cloth

Burning the vertices off the mesh