Digital Fodder > PROJECTS


    3D Realtime Mass-Spring System

    Project Description:

    We propose to implement rigid body dynamics using the Mass-Spring Model. For the implementation, we plan to use C++ to implement the spring classes and OpenGl to render the systems in 3D. Further, our goal is to make the system work in real-time.

    The output of the program would a system of points connected by lines representing the springs. There would be a plane representing the ground and a bounding volume representing the walls.

    The user could pick up, drop, collide and perform other possible actions on those points. The program must realistically simulate the movement of the points to an equilibrium position.

    Thus, the project has 3 basic components. First is the rendering component, the second is the spring component and its constituent solvers and the third is the collision detection and user interaction component.

    Project Design: UML

    Project Download

    Click on the link below to download the application. To run the application, we have 11 demos in batch files (.bat) which try to simulate the physics using different settings (gravity, planes, mass weights, spring constants being the variables). Feel free to play around with the txt files (a different text file for each demo) to change these settings.
    Download

    Project Presentation

    Click on the link below to download the presentation to get a rough understanding of how the system works from the inside.
    Download the Presentation



    Contact

    Venkat Krishnaraj
    venkat.krishnaraj@gmail.com
    Masters, Computer Science
    Cornell University