Skip to content

simple OpenGL cloth simulation with verlet integration

Notifications You must be signed in to change notification settings

andrei-toterman/cloth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloth simulation

reimplementation of this article, using the programmable OpenGL pipeline

dependencies

  • OpenGL
  • glfw
  • glew

compile and run

cmake -DCMAKE_BUILD_TYPE=Release -S . -B build -G Ninja
cmake --build build
./build/cloth

input

  • W: move ball forward
  • A: move ball left
  • S: move ball backward
  • D: move ball right
  • Q: move ball down
  • E: move ball up
  • space: apply wind to cloth

About

simple OpenGL cloth simulation with verlet integration

Topics

Resources

Stars

Watchers

Forks