Home | About Me | Game Programming Centre | Misc Links  
Home >> Game Programming >> Assignment 3 (Bumps in Singapore, Can you feel it?)
My Links:
:: Updates ::
:: Assignment 4 ::
:: Assignment 6 ::

This is an add-on feature to the scene created in Assignment 2.

In this assignmnet, the objective is to make the scene more realistic by adding 'bumps' to the existing textures. By adding bumps, textures will look more 3D rather than just a flat 2D plane.

There are 2 main methods of creating bump maps. One is to calculate normals at every pixel in real time and render lighting accordingly. However this method is tedious and with limited programming experience in this area, i found it rather difficult. The other method involves creating bump maps from existing graphic software to overlap exiting textures.

Using Gimp, a freely available graphic editor software, i was able to easily create a bump map in a straightforward manner.

The texture i have decided to add bump maps to is the floor. The following screenshots depict the floor texture with and without bump maps.

Here is a screenshot of the floor without bump map:

Here is a screenshot of the floor with bumps:

The program can be downloaded from the following links:

:: Source files >> DOWNLOAD

:: Exe & Src Files >> DOWNLOAD

Program Keys:

- Navigation : Up Arrow, Down Arrow, Left Arrow, Right Arrow

- Toggle Day & Night: D (Slowly brighten), N (Slowly darken)

- Toggle on/off spotlight (Only at night): S

- Toggle on/off bumps: B

Enjoy!!

Other Misc Links:
Nehe Game Development (OpenGL Guide)
 
Copyright Guang Yi Development 2005. No unauthorized copying, publishing or printing of material from this website.