Table of Contents

Description

A bump mapped scene of planes with a skybox. The planes have a small line to help recognize their normals. The light in the scene moves around to show the differences in lighting positions.

Screenshots









User Information

Mouse Shortcuts

ButtonsDescription
Hold L+RStrafes forward/backward
Hold LStrafes left/right
Hold RRotate camera about <0,0,0> (yes, it's terrible)

Key Shortcuts

KeyDescription
pToggle light movement
rReposition scene
0-9Change diffuse texture AND bump texture
tChange diffuse texture
nChange bump map
sChange Skybox
xMove -x direction
XMove +x direction
xMove -y direction
YMove +y direction
xMove -z direction
ZMove +z direction
aRotate on Y axis (+x direction)

Refereneces

Bump Mapping and Textures

Tutorial 1
Tutorial 2
Tutorial 3
Tutorial 4
Tutorial 5
Tutorial 6

Vertex Buffer Objects

Nvidia - Using VBOs
Spec VBO Whitepaper
Songho VBO Tutorial
OpenGL Common Mistakes

Source Code

float3.h
Partial of Shader and TBN
Course labs