A C++ fluid simulator (SPH, OpenCL, GLSL, SSE, Fast Marching Cubes)
Final project for 50.017 Graphics and Visualization course in Singapore University of Technology and Design (SUTD).
Features:
OSX and XCode.
Change directory into the executable
folder.
cd executable
You may need to set the permissions on the Fluidsim
application to be executable.
sudo chmod +x Fluidsim
Then run
./Fluidsim
Open "GnV FluidSim.xcodeproj" in xCode.
By default, the SPH portion of the simulation uses the CPU.
To toggle between OpenCL and CPU mode, go to fluidSystem.h, and comment/uncomment the following:
#define OPENCL_SPH