September 2008
Beginner
502 pages
12h 9m
English
Chapter 7
Our demos are getting a little more interesting, but real-world objects typically have more details than per-vertex colors can capture. Texture mapping is a technique that allows us to map image data onto a triangle, thereby enabling us to increase the details and realism of our scene significantly. For instance, we can build a cube and turn it into a crate by mapping a crate texture on each side (see Figure 7.1).

Figure 7.1: The Crate demo creates a cube with a crate texture.
Objectives:
To learn how to specify the part ...
Read now
Unlock full access