C++


Cloth Simulation


Coursework for CG Imagery Techniques: The simulation is based on the Mass-Spring model uses Runge-Kutta 4th order integration. It is a stand-alone application developed using C++, OpenGL, NGL and Qt. The user can tweak the spring constants to adjust the behavior of cloth. The cloth itself can respond to external forces like gravity and wind. It can also collide with simple external objects. However, it does not detect self collision which is an improvement to be made in the future.





Flocking System


Coursework for Animation Software Development. A flocking system based on Craig-Reynolds model which can handle upto 4000 boids at about 18-20 fps as it uses an Octree for spatial partitioning. It is a stand-alone application developed using C++, OpenGL, NGL and Qt. The weighting of the 3 definitive behaviours of a flock can be tweaked from the UI. The flock can follow/seek a goal, avoid obstacles and flee from predators.