Sunday, 9 December 2012

Simulation of Collision Detection using OpenGL


This is a project that I'm very proud of. We built up a physical world using OpenGL.





Balancing Board

The board is made up of a gridded X-Z plane, bordered at the sides by border walls. This is the space in which the ball can roam freely.

 
Material Selection

This graphical user interface is to use to select the materials for the ball. It includes metal, wool and plastic ball material.


Walls

There are two kinds of walls – border walls and red walls. Border walls are used to hold the ball within the board. The red walls shown here are strips of X-Y planes of a predefined length. All walls are of height r, where r is the radius of the ball.


Ball

The ball can only travel in the X-Z plane. It can be simulated with different materials.


Controls

The balancing board can be tilted in the x-axis and z-axis by using the mouse. The angular limits in both directions are ±45°.

No comments:

Post a Comment