Download presentation
Presentation is loading. Please wait.
Published byAnnis Reeves Modified over 9 years ago
1
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 3
2
*Bug in text – Fig. 3.1(b) should be wireframe. Figure 3.1: Screenshots of squareAnnulus1.cpp*.
3
Figure 3.2: Square ann- ulus (z coordinates all 0).
4
Figure 3.3: Screenshot of squareAnnulusAnd- Triangle.cpp.
5
Figure 3.4: Logical representation of data in vertex arrays.
6
Figure 3.5: Screenshot of squareAnnulusVBO.cpp.
7
Figure 3.6: Screenshot of helixList.cpp.
8
Figure 3.7: Screenshot of multipleLists.cpp.
9
Figure 3.8: Bitmapped versus stroke text.
10
Figure 3.9: Screenshot of fonts.cpp.
11
Figure 3.10: Screenshot of mouse.cpp.
12
Figure 3.11: Mouse event coordinates (x, y).
13
Figure 3.12: Screenshot of menus.cpp.
14
Figure 3.13: Screenshot of lineStipple.cpp.
15
Figure 3.14: (a) Line stipple specified by glLineStipple(1, 0x5555) (b) Line stipple specified by glLineStipple(5, 0x5555).
16
Figure 3.15: Screenshot of canvas.cpp.
17
Figure 3.16: Wireframe FreeGLUT objects.
18
Figure 3.17: A clipping plane clipping a plane in half.
19
Figure 3.18: Screenshot of clippingPlanes.cpp.
20
Figure 3.19: Screenshot of sphereInBox1.cpp with a corner clipped off.
21
Figure 3.20: Clipping a sphere to make a hemisphere: the clipped half is computed and suppressed.
22
Figure 3.21: Viewing frustum created by gluPerspective(fovy, aspect, near, far).
23
Figure 3.22: Section by the yz-plane (i.e., x = 0 plane) of the viewing frustum (bold) created by glFrustum(-5.0, 5.0, -5.0, 5.0, 5.0, 100.0).
24
Figure 3.23: Screenshots of hemisphere.cpp with the window squished and the projection statement (a) glFrustum(-5.0, 5.0, -5.0, 5.0, 5.0, 100.0) and (b) gluPerspective(90.0, (float)w/(float)h, 5.0, 100.0).
25
Figure 3.24: Viewport specified by glViewport(x, y, w, h).
26
Figure 3.25: Screenshot of viewports.cpp.
27
Figure 3.26: Screenshot of windows.cpp.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.