/MPM-snow-simulation

A material point method for snow simulation

Primary LanguageC

CSC417 final project

You can watch our video here.

Usage Instructions

  • Compile the CMake project.

    $ mkdir build
    $ cd build
    $ cmake .. -DCMAKE_BUILD_TYPE=Release
    $ make
  • Run the simulation.

    $ ./final

    NOTE: The simulation will output images to the current working directory. You can turn these images into a video by running

    ffmpeg -framerate 60 -i image%03d.jpg output.mp4

Acknowledgement