My implementation of the material point method; developed from scratch as coursework for CIS 563: Physically Based Simulation (F20).
To compile and run:
- Execute
make all
- To run cube simulation, execute
./material_point 0
- The output frames will be saved to the
output
folder - Use
rendering.hipnc
to render and visualize frames in Houdini
Here is a rendered demo of a jello cube simulated with 100,000 particles.