This projection mapping piece was my final project for an animation course. (Unfortunately the camera I used was not as good in low light as I had anticipated, so apologies for the low quality video)
This rigid bodies simulation is written in C++ and OpenGL. Keyboard interaction allows the user to shoot spheres into the scene. Collisions are detected for planes, spheres, cubes and rectangles. Impulse force for collision and contact resolution follows the method presented in the paper “Nonconvex Rigid Bodies with Stacking.” The simulation uses a Sweep and Prune algorithm for broadphase collision d