/SPH_OpenGL

fluid simulation based on particle SPH and marching-cube algorithm

Primary LanguageC++

This is a fluid simulation engine written in C++. The simulation is based on particle SPH and marching-cube algorithm.

###Dependencies

  • gcc >= 4.8
  • OpenGL

###Environment setup sudo apt-get install build-essential libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

###Use #####Keyboard

  • c: switch between fuild mode and particle mode
  • a: generate a new particle

#####Mouse

  • press and drag can move the container and create an acceleration for the whole system