Concepts:The author begins with a paragraph that does not seem to apply to the chapter. I wonder if he put it in to prove that the proofreader was not doing a good job? The second paragraph of chapter 11 begins the lesson on normal maps. Over the next few pages, the author explains that a normal map is a map that simulates a complex surface on an object that does not actually have a complex surface. This topic was discussed earlier in the term. A normal map makes a low polygon model look and act like a high polygon model. A normal map would just be a map if it did not make the low polygon model reflect light like a high polygon version of the same model. Page 339 explains that a normal is the direction a point on a face is facing. Think of every point on a surface as having a geometric face. That face must be "looking" in some direction. A normal map would include information about the direction that each point is facing (looking). Imagine a rolling landscape laid out in a grid. At each intersection in the grid, there is an arrow pointing not up, but perpendicular to the ground at that point. Some of the arrows will point up, and some will point at angles based on the curving landscape. These arrows are the normals for all of those points. (Look at the similar illustrations on page 342.) This becomes useful when we think about light in the next few pages. The author moves on to discuss two lighting techniques that may be used in games that calculate lighting in real time.
The discussion of how normals are used in calculating vertex lighting is interesting. The brightness of each vertex is calculated based on the angle of the light source and the angle of the normal of the vertex. As shown on page 340, this can be summarized as the angle between the normal and the light source. Greater angles make darker surfaces, lesser angles make brighter surfaces. The author revisits the definition of a normal map again on page 341. He adds more to it: a normal map also includes the x, y, and z coordinate information for each normal that is in it. In other words, it remembers where the normal is located, including how high it is above the baseline of the figure. 3DS Max 2012 uses the red, green, and blue channels of a normal map for separate purposes. The red channel stores information for the left-right axis of the view in which it is captured, the green channel stores information for the up-down axis, and the blue channel stores information for what that view would have seen as vertical depth. Exercise: Normal map tutorial on Vimeo You can carry out this tutorial, with the notes below.
|