LEE-JAE-HYUN179 / Cloth-simulation

simple cloth simulation with collision detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

simple cloth simulation with collision detection


Languages

Language:C++ 70.6%Language:C 27.9%Language:Makefile 1.0%Language:Objective-C 0.4%Language:GLSL 0.1%Language:CMake 0.0%