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

Slides:



Advertisements
Similar presentations
Graphics Pipeline.
Advertisements

3D Graphics Rendering and Terrain Modeling
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
Chapter 6: Vertices to Fragments Part 2 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Chapter 11: Advanced Rendering Part 1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Part I: Basics of Computer Graphics Viewing Transformation and Coordinate Systems Chapter
1 Lecture 9 Lighting Light Sources Reflectance Camera Models.
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Programmable Pipelines. Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
CS 445 / 645: Introductory Computer Graphics Light.
1Computer Graphics Implementation II Lecture 16 John Shearer Culture Lab – space 2
Implementation II Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 6.
Implementation II.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Appendix A.
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
RENDERING Introduction to Shading models – Flat and Smooth shading – Adding texture to faces – Adding shadows of objects – Building a camera in a program.
Computer Graphics I, Fall 2010 Implementation II.
CS 445 / 645 Introduction to Computer Graphics Lecture 16 Radiosity Radiosity.
CS 445 / 645: Introductory Computer Graphics Review.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 13.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 21.
Viewing and Projection. The topics Interior parameters Projection type Field of view Clipping Frustum… Exterior parameters Camera position Camera orientation.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 14.
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
Chapter 10: Computer Graphics
Rendering Pipeline Fall, 2015.
Computer Graphics Implementation II
Shading To determine the correct shades of color on the surface of graphical objects.
Programmable Pipelines
Transformations Chapter 4.
Ray Tracing Ed Angel Professor Emeritus of Computer Science
DO NOW W ( , ) X ( , ) Y ( , ) Z ( , ) YES NO YES NO YES NO
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics
Graphics Fundamentals
3D Graphics Rendering PPT By Ricardo Veguilla.
RAY TRACING.
CS451Real-time Rendering Pipeline
Chapter 10: Computer Graphics
Understanding Theory and application of 3D
Models and Architectures
© University of Wisconsin, CS559 Fall 2004
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics with WebGL
Lighting.
Implementation II Ed Angel Professor Emeritus of Computer Science
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Introduction to Computer Graphics with WebGL
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Lecture 13 Clipping & Scan Conversion
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 9.
Visibility (hidden surface removal)
Models and Architectures
CS5500 Computer Graphics May 29, 2006
Rendering – Basic Concepts
Models and Architectures
Introduction to Computer Graphics with WebGL
Illumination and Shading
GR2 Advanced Computer Graphics AGR
Implementation II Ed Angel Professor Emeritus of Computer Science
Introduction to Ray Tracing
Presentation transcript:

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

Figure 19.1: Synthetic-camera rendering pipeline (the dashed part of the small drawn box is outside the viewing frustum; the corresponding transformed part is outside the canonical box, so clipped).

Figure 19.2: Screenshot of Experiment 19.1.

Figure 19.3: The synthetic camera in Flatland: the point camera is at O’, the “viewing trapezoid” is q, the “canonical rectangle” q’.

Figure 19.4: Screenshot of perspectiveCorrection.cpp.

Figure 19. 5: The line segment drawn in perspectiveCorrection Figure 19.5: The line segment drawn in perspectiveCorrection.cpp is pq and its projection on the viewing face pq’.

Figure 19.6: (a) A point is mapped by the projection transformation from a viewing frustum to the canonical viewing box, followed by parallel projection to the latter's back face. (b) Likewise for a line segment: the projection transformation does not preserve convex combinations, but parallel projection does.

Figure 19.7: The rasterization R(S) of a line segment S consists of N + 1 pixels, each corresponding to a particular u-value (a few u-values are shown vertically below the corresponding pixel).

Figure 19.8: Complete minimal synthetic-camera rendering pipeline.

Figure 19.9: OpenGL fixed-function pipeline. Additions to the minimal synthetic-camera pipeline are darkly shaded.

Figure 19.10: Scaling from the 2 x 2 back face of the canonical box, located on an xy-plane, to the m x n area of the raster.

Figure 19.11: Tracing rays from a light source L – only few reach the eye.

Figure 19. 12: Tracing rays from the eye, one through each pixel Figure 19.12: Tracing rays from the eye, one through each pixel. Rays are “stopped” when they strike an object.

Figure 19.13: Shadow computation: feeler rays are dashed.

Figure 19.14: (a) Reflection and transmission: reflected rays are black, transmitted blue. One dashed feeler ray is drawn. (b) Ray tree (not all edges are labeled).

Figure 19.15: Calculating the direction of the reflected and transmitted rays: A = angle of incidence, B = angle of reflection, C = angle of refraction.

Figure 19.16: Ray tracing versus OpenGL: screenshot of (a) sphereInBoxPOV.pov (b) sphereInBox1.cpp.

Figure 19.17: The (object-oriented) synthetic-camera pipeline versus the (screen-oriented) ray traced pipeline.

Figure 19. 18: Living room lit mostly with diffuse light (courtesy www Figure 19.18: Living room lit mostly with diffuse light (courtesy www.freshome.com).

Figure 19.19: Patchified box.

Figure 19.20: Form factor between patches depends on their respective orientation, the distance between them and if there is occlusion by other patches.

Figure 19.21: Comput- ing form factors.

Figure 19.22: (a) Projecting a patch onto a hemicube (b) Computing the delta form factor.

Figure 19.23: The radiosity algorithm.

Figure 19.24: Without and with radiosity: screenshot of sphereInBoxPOV.pov with (a) radiosity disabled (b) radiosity enabled.