/Cloth-simulation

simple cloth simulation with collision detection

Primary LanguageC++

Cloth-simulation

Simple Rigid Body + Cloth(deformable body) + partice system simulation with OpenGL

Term Project of Korea University Graphics Course.

Both Xcode and Visual Stuido Project supported.

Dependencies

  • GLFW
  • GLM
  • GLEW

Cloth

Cloth was implemented based on mass spring model.

Three-types-of-basic-springs-for-cloth-simulation

Snow

Particle system was highly referenced by opengl tutorial site

http://www.opengl-tutorial.org/kr/intermediate-tutorials/billboards-particles/particles-instancing/

그림1

Final Result

ezgif com-gif-maker (1)

Remark

In Visual studio Project, Build for release mode!! not Debug mode!!

Collision detection was hard coded