3D Smoothed Particle Hydrodynamics with OpenCL
- OpenCL
- OpenGL
- SFML - Windowing and OpenGL context
- libMC33++ - Marching Cubes
- ehgl - OpenGL c++ wrapper
To start the simulation,
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./sphThis will run the simulation and emit a vertices data file vertices.dat.
To render the simulation data,
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./sph_render vertices.datPressing 'Q' will play the simulation.
