Presentation is loading. Please wait.

Presentation is loading. Please wait.

Many of the figures from this book may be reproduced free of charge in scholarly articles, proceedings, and presentations, provided only that the following.

Similar presentations


Presentation on theme: "Many of the figures from this book may be reproduced free of charge in scholarly articles, proceedings, and presentations, provided only that the following."— Presentation transcript:

1 Many of the figures from this book may be reproduced free of charge in scholarly articles, proceedings, and presentations, provided only that the following citation is clearly indicated: “Reproduced with the permission of the publisher from Computer Graphics: Principles and Practice, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley. Copyright 2014 by Pearson Education, Inc.” Reproduction for any use other than as stated above requires the written permission of Pearson Education, Inc. Reproduction of any figure that bears a copyright notice other than that of Pearson Education, Inc., requires the permission of that copyright holder.

2 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.1 A specific surface location P that is visible to the camera, incident light at P from various directions {ω i }, and the exitant direction ω o toward the camera.

3 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.2 A pattern for testing the Image class. The pattern is a checkerboard of 1-pixel squares that alternate between 1/10W/(m 2 sr) in the blue channel and a vertical gradient from 0 to 10. (a) Viewed with deviceGamma = 1.0 and displayConstant = 1.0, which makes dim squares appear black and gives the appearance of a linear change in brightness. (b) Displayed more correctly with deviceGamma = 2.0, where the linear radiance gradient correctly appears as a nonlinear brightness ramp and the dim squares are correctly visible. (The conversion to a printed image or your online image viewer may further affect the image.)

4 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.3 The ray through a pixel center in terms of the image resolution and the camera’s horizontal field of view.

5 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.4 Visualization of eye-ray directions.

6 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.5 Variables for computing the intersection of a ray and a triangle (see Listing 15.16).

7 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.6 The single triangle scene visualized with color equal to barycentric weight for debugging the intersection code.

8 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.7 A green Lambertian triangle.

9 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.8 Triangle rendered with a normalized Blinn-Phong BSDF.

10 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.9 The green triangle scene extended with a two-triangle gray ground “plane.” A back surface has also been added to the green triangle.

11 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.10 A four-triangle scene, with ray-cast shadows implemented via the visible function. The green triangle is two-sided.

12 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.11 The dark dots on the green triangle are shadow acne caused by self-shadowing. This artifact occurs when the shadow ray immediately intersects the triangle that was being shaded.

13 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.12 A scene composed of many triangles.

14 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.13 E is the centroid of square ABCD in 3D, but its projection is not the centroid of the projection of the square. This can be seen from the fact that the three dashed lines are not evenly spaced in 2D.

15 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.14 Left: A shadow map visualized with black = near the light and white = far from the light. Right: The camera’s view of the scene with shadows.

16 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.15 Dividing a triangle horizontally at its middle vertex.

17 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.16 Each span’s starting point shifts Δ 1 from that of the previous span, and its ending point shifts Δ 2.

18 From Computer Graphics, Third Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley (ISBN-13: 978-0-321-39952-6). Copyright © 2014 by Pearson Education, Inc. All rights reserved. Figure 15.17 A triangle subdivided into four similar triangles.


Download ppt "Many of the figures from this book may be reproduced free of charge in scholarly articles, proceedings, and presentations, provided only that the following."

Similar presentations


Ads by Google