���Chapter XIV�Normal Mapping
All class materials including this PowerPoint file are available at
https://github.com/medialab-ku/openGLESbook
Introduction to Computer Graphics with OpenGL ES (J. Han)
Bumpy Surfaces
14-2
n∙l
Introduction to Computer Graphics with OpenGL ES (J. Han)
Bumpy Surfaces (cont’d)
14-3
Introduction to Computer Graphics with OpenGL ES (J. Han)
Bumpy Surfaces (cont’d)
14-4
normal-mapped
base surface
normal map
+
=
Introduction to Computer Graphics with OpenGL ES (J. Han)
Height Map
14-5
height map
(gray-scale image)
Introduction to Computer Graphics with OpenGL ES (J. Han)
Height Map from Image Texture
14-6
image texture height map normal map
Introduction to Computer Graphics with OpenGL ES (J. Han)
Normal Map from Height Map
14-7
Introduction to Computer Graphics with OpenGL ES (J. Han)
Normal Mapping
14-8
normal map
+
Introduction to Computer Graphics with OpenGL ES (J. Han)
Normal Mapping (cont’d)
14-9
Introduction to Computer Graphics with OpenGL ES (J. Han)
Normal Mapping (cont’d)
14-10
Introduction to Computer Graphics with OpenGL ES (J. Han)
Normal Mapping (cont’d)
14-11
(0,0)
(1,1)
(0,0)
(1,1)
Introduction to Computer Graphics with OpenGL ES (J. Han)
Normal Mapping (cont’d)
14-12
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent Space
14-13
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent Space (cont’d)
14-14
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent Space (cont’d)
14-15
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent Space (cont’d)
14-16
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent-space Normal Mapping
14-17
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent-space Normal Mapping (cont’d)
14-18
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent-space Normal Mapping (cont’d)
14-19
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent-space Normal Mapping (cont’d)
14-20
Introduction to Computer Graphics with OpenGL ES (J. Han)
Authoring Normal Maps
14-21
Introduction to Computer Graphics with OpenGL ES (J. Han)
Authoring Normal Maps (cont’d)
14-22
base surface
high-frequency
mesh
high-frequency
mesh
base surface
normal map
high-frequency
mesh
base surface
Introduction to Computer Graphics with OpenGL ES (J. Han)
Authoring Normal Maps (cont’d)
14-23
(0,0)
(rx,ry)
parameter space
Introduction to Computer Graphics with OpenGL ES (J. Han)
Authoring Normal Maps (cont’d)
14-24
unfolded scaled-up base surface
Introduction to Computer Graphics with OpenGL ES (J. Han)
Authoring Normal Maps (cont’d)
14-25
high-frequency
mesh
Introduction to Computer Graphics with OpenGL ES (J. Han)
Authoring Normal Maps (cont’d)
14-26
object-space normal map
tangent-space normal map
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent-space Normal Mapping - Examples
14-27
Introduction to Computer Graphics with OpenGL ES (J. Han)
Tangent-space Normal Mapping - Examples
14-28
Introduction to Computer Graphics with OpenGL ES (J. Han)
Supplement – 3D Scanning
14-29
Introduction to Computer Graphics with OpenGL ES (J. Han)
Supplement – Height Map for Terrain Rendering
14-30
Introduction to Computer Graphics with OpenGL ES (J. Han)