Thursday, June 23, 2011

Computer Graphics Project "Light House Simulation" ( in Java)

This project titled "Light House Simulation" was done as a Computer Graphics project. I have attached the source code in java herewith. This project is a very simple project that everyone with a little prior knowledge of computer graphics can easily understand. Basically, this project incorporates simple algorithms of 2D transformations, 3D transformations, 3D rotations, Surface Shading algorithms.


Brief Description :
The simulation of a light house is done by a cubical object. The cubical object is assumed to contain a light source at its center. There is a small circular area (hole) on one of its face through which the light emerges out cylindrically. The light source is placed at the center of a room. The cubical object can be freely rotated manually by user in any direction and the light source illuminates the portion of the room accordingly. The following is a snapshot of this project and this may help to clarify the visualization of this project.

 Snapshot :




 To download the source code, click here :  Java Source Code (Light House Simulation)






No comments :

Post a Comment