Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 12
Figure 12.1: Beer can label.
Figure 12.2: Screenshot of can with textured label and top.
Figure 12.3: Field.
Figure 12.4: Trees on white background.
Figure 12.5: The two textures of loadTextures.cpp: shuttle launch (external, from NASA) and chessboard (synthetic).
Figure 12.6: A striped board.
Figure 12.7: An image stored as a texture in a unit square of texture space.
Figure 12.8: Texture maps.
Figure 12.9: Screenshots from Experiment 12.5.
Figure 12.10: Each of the two texture triangles is interpolated over the corresponding polygon triangle.
Figure 12.11: Screenshot of Experiment 12.6.
Figure 12.12: Tiling of texture space. The curved bold black arrows indicate the texture map. The straight arrow indicates the painting of one tile onto a sub-rectangle of the polygon; other tiles similarly paint corresponding sub-rectangles.
Figure 12.13: Screenshot from Experiment 12
Figure 12.14: Screenshot of fieldAndSky.cpp.
Figure 12.15: The aliasing problem in texture mapping. A single pixel P is mapped to a quadrilateral Q covering many texels (minification).
Figure 12.16: A block B of many pixels is mapped to a quadrilateral Q inside a single texel (magnification).
Figure 12.17: Mipmapping.
Figure 12.18: Screenshots of fieldAndSkyFiltered.cpp: (a) Weakest filter (b) Strongest filter.
Figure 12.19: Screenshot of compareFilters.cpp initially.
Figure 12.20: Screenshot of mipmapLevels.cpp.
Figure 12.21: Cow at 3 different resolutions: (a) 5804 (b) 1772 (c) 328 triangles.
Figure 12.22: Screenshot of texturedTorus.cpp.
Figure 12.23: Texturing a torus by identifying the parameter rectangle with the texture.
Figure 12.24: Screenshot of texturedTorpedo.cpp: propeller blades textured with the chessboard, body with stripes.
Figure 12.25: Texture mapping a Bezier surface via a Bezier surface in texture space. The parameter map on the right from parameter to texture space is the identity in the case of texturedTorpedo.cpp.
Figure 12.26: Screenshots of (a) fieldAndSkyLit.cpp and (b) litTextured- Cylinder.cpp.
Figure 12.27: Screenshots of multitexture.cpp: (a) Mid-day (b) Late evening (c) Night.
Figure 12.28: Stained metal.