Description
This demonstrates a cloth simulated by mass-spring system under the gravity and spring forces.
Features:
- 3D implementation.
- Real time.
- User controlled camera.
- Mass-spring system.
- GPU Shading.
- Gravity and spring force.
- Explicit and implicit integration.
- Texture.
- Air drag effect (flag-wind demo).
- One-way cloth-sphere interaction.
- 41×41 particles with over 33 FPS (time step 0.03s)
- Able to save screenshots to PNG files.
Implementation Tools:
- Sublime Text 3 & command line
- C++ and cmake
- OpenGL, GLUT, GLEW
- Eigen
- PNG
- opensource file std_image.h (for loading texture images)