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: