Jello Cube

Physically-based jello simulation created using a mass-spring system. The vertices of the cube are connected with structural, bend, and shear springs and integrated over time with RK4 using gravity and spring forces. Collision detection occurs for spheres, cylinders, and boxes in the scene. I also wrote a MEL script to transfer the cube vertex data into Maya. I applied some custom shaders and materials for the jello and other static objects, and then rendered the animation using mental ray.