CMU 15-662 Computer Graphics Final Project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

SPH-Fluid-Simulation

CMU 15-662 16Spring Final Project

Xiaoshan Lu (xiaoshal) and Sarvesh Subramanian (sarveshs)

Proposal

####Option F: SPH Fluid Simulation

  1. We'll code from scratch.
  2. We'll render the fluid using OpenGL.
  3. We'll implement a 2D fluid simulation first. (We didn't do this at last but to implement step 4 directly)
  4. If we have time, we'll implement a 3D fluid simulation as well.
  5. We'll use Matching Cube algorithm to create the surface of the fluid.

Installation

OS: Window 7/8/10

IDE: Visual Studio 2015

Lib: CMU462, GLEW, GLUT

Setup:http://hilllo.com/final-project-1-set-up-opengl/

Implementation

Hill: Implement the SPH Model.

Sarvesh: Implement OpenGL and Marching Cube algorithm.

References:

####Thesis

Particle-Based Fluid Simulation for Interactive Applications by Matthias Müller, David Charypar and Markus Gross:

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.121.844&rep=rep1&type=pdf

Fluid Simulation For Computer Graphics: A Tutorial in Grid Based and Particle Based Methods, Colin Braley and Adrian Sandu:

http://cg.informatik.uni-freiburg.de/intern/seminar/gridFluids_fluid-EulerParticle.pdf

Physically-Based Fluid Modeling using Smoothed Particle Hydrodynamics by Trina M. Roy:

http://www.plunk.org/~trina/thesis/html/thesis_toc.html

SPH survival kit:

http://www8.cs.umu.se/kurser/TDBD24/VT06/lectures/sphsurvivalkit.pdf

####OpenGL

Tutorial:

http://www.opengl-tutorial.org/

Source Code:

https://github.com/hilllo/ogl