Objectives:

  • Use OpenGL "Bump Mapping"

Bump Mapping


Adapted from nehe.gamedev.net by Jeff Molofee.

This tutorial introduces more advanced rendering techniques. You need to look over the original tutorial here: Nehe's Lesson 22. This one is quite advanced, so take some time checking out the comments. It's an advanced version of his Tutorial #6-where you first mapped textures onto a cube.
There are a lot of files to download for this:

Here is the source file: nehe22.cpp. You will also need to add a header file and copy this data into it: Glext.h

You will need to add the following files in a separate folder named Data:

You will also need to add a header file and copy this data into it: Glext.h

Base.bmp
Bump.bmp
multi_on.bmp
multi_on_alpha.bmp
opengl.bmp
opengl_alpha.bmp


<< Back to Skyline