Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 9.

Similar presentations


Presentation on theme: "Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 9."— Presentation transcript:

1 Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition
Chapter 9

2 Figure 9.1: Meeting of the Tree Huggers' Union.

3 Figure 9.2: A bowl of two colors.

4 Figure 9.3: PQR is oriented CCW to the viewer, so it's rendered (red triangle on the viewing face) according to properties for its front face.

5 Figure 9.4: Was the inside of the bowl red or green?

6 Figure 9.5: v0v1v2 appears CW from O.

7 Figure 9.6: A quadrilateral.

8 Figure 9.7: The plane p contains the triangle PQR: the orientation of PQR depends
on which side of p the viewer is located.

9 Figure 9.8: (a) Consistently oriented triangulation (b) Inconsistently oriented

10 Figure 9.9: OpenGL spray-painting bots.

11 Figure 9.10: Man looking at both sides of a consistently oriented wall.

12 Figure 9. 11: Screenshots for (a) Experiment 9. 2 and (b) Experiment 9

13 Figure 9. 12: Screenshots of (a) squareOfWalls
Figure 9.12: Screenshots of (a) squareOfWalls.cpp and (b) threeQuarterSphere.cpp.

14 Figure 9.13: Non-orientable surfaces.

15 Figure 9. 14: First three closed surfaces, next two non-closed
Figure 9.14: First three closed surfaces, next two non-closed. The closed sphere is not shaded to reveal the inside; the green back face of a triangle is not visible from outside the sphere.

16 Figure 9. 15: Screenshots for (a) Experiment 9. 7 (b) Experiment 9
Figure 9.15: Screenshots for (a) Experiment 9.7 (b) Experiment 9.7 (disable culling commented out) (c) Experiment 9.8.

17 Figure 9. 16: Screenshots from Experiment 9
Figure 9.16: Screenshots from Experiment 9.9: (a) Original (b) Wrongly reflected (c) Correctly reflected.


Download ppt "Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 9."

Similar presentations


Ads by Google