Scene Chosen: Sheltered pathway between NTU hostel hall 10 and hall 9.
The scene was programmed and design entirely in OpenGL compiled by Microsoft Visual C++. A great help was <Nehe's Game Devlopment> which provided a comprehensive and easy to understand guide to OpenGL programming.
Here is a photo of the pathway taken using a digital camera:
This seemingly simple scene actually required alot of work especially in getting the shape and dimension of the shelter and steps to look correct. The textures that were involved in the design, such as brick floor, concrete pillar, wooden support beams and tiled roof had to be meticulously photographed, enhanced and made repititive through time consuming photoshop manipulation.
Because of polygon constraints, only the middle section of the pathway is modelled. This model itself already requires up to 80 polygons to render.
Here is the screenshot of the pathway designed in OpenGL:
For the night scene, i used 3 light sources. 2 main sources are from flourescent lamps that are on the middle support beam of the shelter, hence the light shines directly on the floor. The third light source is from a spotlight which i have added to the scene.
I have used a few light maps to model the night scenery. A few to be mentioned are the inner roof that will be lighted by the flourescent lamp as well as the support beams that will be bright when the lamps are switched on. The front right pillar also has 2 light maps to create a spotlight effect on the pillar.
The additional spotlight can be toggled on and off at night.
Here is a screen shot of the night scene:
Here is a screen shot of the night scene with spotlight switched on:
The program can be downloaded from the following links: