There are many interest events happened in past. One of them was tragedy of Titanic. The Ship Iceberg Collision led to shrink of huge big ship along with many crew members and passenger. Based on this we are giving Opengl Source Code for Ship Iceberg Collision. This mini projects in computer graphics going to demo the accident of collision of ship with iceberg.
In Previous posts we have shown opengl programs for Solar System, Taj Mahal, Traffic Signals, Networking base projects, some study based projects.There were Opengl Source Code for robots but for moving trains, nuclear power plants, Zoo etc. We have shown story related program like - story of hare and tortoise in computer graphics. But is something related to a real life event which was not shown earlier.
The Titanic Ship (RMS Titanic) was a large ship on 15 April 1912 Shrink due to collision with iceberg. This 269 m ship weighing 52,310 tons on it's maiden voyage scheduled to go from Southampton to New York City. The Ship shrink and around 70% of people we lost. This opengl programs shows how collision of ship with iceberg lead to shrinking.
In this graphics project there is simple ship and a large iceberg. The ship move forward automatically, collides with iceberg and shrink stateway. Though it should contain some passenger in it but for simplicity, it was avoided. There is no functionality added to it with either keyboard or mouse but you can edit Opengl Source Code to adjust a according to your's.
The only interaction added to the project is the front page where, HTML button is placed, clicking on it will open next screen. It is similar to the opening of a web page clicking on a button. Try Modify it and make more complicate as well as interactive, tell us and publish it with your name.
Download the Opengl Source Code for this project.