|
|||
|
Quick Links Assignment 6 Assignment 7 |
Assignment
2
NTU Round-the-clock
!
|
||
![]() |
![]() |
||
|
|
Day View of the corridor outside LT13 Night View of the corridor outside LT13
Use of lightmaps in the scene. Notice
the "shadows"
The stone walls and the parapets with
their respective
Not all the sides are modelled, some
faces not visible
Some of the scenes like the walls above
are created
Image editing to create some pictures
that were too large Transitions
From Day to Night
|
Sometimes, when I feel the stress of work, I love to enjoy some moments of solitude in the school. The benches outside upper level lecture theatres like LT13 and LT12 are just that, as they provide me with such a good getaway from the hustle and rush of NTU. Hence, for this assignment, I have chosen to model the corridor outside the quiet area of LT 13 and LT 12. Another reason why I chose this scene is that it will require lesser amount of polygons to model (one of the requirements of this assignment). Some
quick facts of my project:
Key Controls in the Executable: Movement
Controls Lighting
Controls
Prior to doing the modelling, I went about that area with a digital camera to take snapshots of the scene and to collect pictures that can be used as texture maps. I took pictures of many parts of the scene (e.g. the LT doors, notices, signboards, the fire alarm, etc.). As I also have to model the scene for the night, I stayed behind in school to about 8 pm to snap the night picture. A collection of some of the texture maps and pictures taken can be found HERE!
Coding the OpenGL Programme Usage
of Polygons Lights The 'ON' and the 'OFF' of the 2nd set of lights (i.e. the (spotlight+diffuse) lights set) demonstrates the glEnable(GL_LIGHT0) and glDisable(GL_LIGHT0) functions. Texture
Mapping and LightMaps Viewing An example of a lightmap is shown above for the wall beside the LT door. In this encounter with textures, I also learned the usage of many other operations related to texture mapping like Wrapping, Blending and Texture Mapping.
Conclusion:
<---Download Code and Executable--->
Credits
and Acknowledgments: 2. Miss Anita Widyastuti Nugroho for her generous loan of her powerful digital camera. 3. My girlfriend, GGZ, for her generous offer to test my programme 4. To
Jeff Molofee (NeHe), the creator of the NeHe
Website and Ronny André Reierstad of Morrowland.com
APRON Tutorials. 5. Some additional textures were obtained from the following website: http://textures.forrest.cz/ 6. Other
References:
Another Peaceful Scene At Night
|
|
|
|
Best
viewed in 1024x768 :: Sitemap
|
|
|