Shading Intro. Shading & Lighting. Light and Matter. Light and Matter

Size: px
Start display at page:

Download "Shading Intro. Shading & Lighting. Light and Matter. Light and Matter"

Transcription

1 Shading Intro Shading & Lighting Move from flat to 3-D models Orthographic view of sphere was uniformly color, thus, a flat circle A circular shape with many gradations or shades of color Courtesy of Vincent Costa Rendering is based on physics Physically either emit light or reflect it Multiple interactions among light sources and reflective surfaces determine the color point of a object Light and Matter Light and Matter View as a recursive process that results in an integral equation called the rendering equation which, in general, is unsolvable Best technique is to use ray tracing and radiosity, but they are presently too slow

2 Light and Matter Use a simpler rendering model based on Phong reflection Follow rays of light from light-emitting surfaces, called light sources Consider only single interactions between light sources and surfaces Viewer sees only the light that leaves the source and reaches the eye Light and Matter Viewer sees the color of the light reflected from the surface Replace the viewer by a projection plane Clipping window is mapped to the screen, each rectangle is a pixel Color of light source and surfaces determine the color of one or more pixels in the frame buffer Most rays never contribute to the image Light-Material Interaction Light-Material Interactions specular surface diffuse surface translucent surface Specular surfaces appear shiny because most of the light that is reflected is scattered in a narrow range of angles close to the angle of reflection (mirrors are perfect specular surfaces) Diffuse surfaces are characterized by reflected light being scattered in all directions Translucent surfaces allow some light to penetrate the surface and to emerge from another location on the object in a process called refraction

3 Material Properties Light Sources blue diffuse no specular white specular low shininess white specular high shininess blue diffuser emissive no ambient reflection gray ambient reflection blue ambient reflection Light can leave a surface through two fundamental processes: self-emission and reflection Light source is an object with a surface Each point (x,y,x) on the surface can emit light that is characterized by the direction of emission (θ,φ) and the intensity of energy emitted at each wavelength λ General light source is a six variable illumination function I(x,y,z,θ,φ,λ) Easiest to model with polygons u=θ f=φ I(x,y,z,θ,φ,λ) Light Sources Color Sources Light sources emit different amounts of light at different frequencies Best physical model is based on three color theory We use each of the three color sources (red, green, blue) to obtain a corresponding color component that a human sees We describe a source through a three component intensity or luminance function: I I = I I r g b

4 Light Sources Ambient Lighting Point Sources Spotlights Distant Lights These are sufficient for rendering most scenes Ambient Light Ambient Light is the uniform lighting in an environment background glow Ambient illumination is characterized by an intensity, I a, that is identical at every point in the scene It has three color components: I Ia = I I ar ag ab We use the scalar I a to denote any on of the red, green or blue components Point Sources An ideal point source emits light equally in all directions Characterize a point source located at a point p 0 by: I r ( p0) I(p0) = I g ( p0) Ib( p0) Point Sources The intensity of illumination received from a point source is proportional to the inverse square of the distance between the source and the surface At a point p, the intensity of light received from the point source is given by: 1 I(p, p0) = I( p0) 2 p p 0 Distance between p and p 0 can be replaced with: ( a+ bd + cd 2 1 )

5 Point Sources Spotlights Point sources tend to have high contrast Larger the light source, softer the scene Some areas in full shadow, umbra, others in partial shadow, penumbra Mitigate high contrast by adding ambient light -θ φ θ θ Spotlights are characterized by a narrow range of angles through which light is emitted Given a point source, limit the angles at which light from the source can be seen Use a cone whose apex is at p s, which points in the direction l s, and width is determined by an angle θ Distant Light Distant Light Point on the surface to the light source doesn t change much as the distance increases Replace a point source with a parallel source that illuminates objects with parallel rays of light Replace location of the light source with direction of the light source x y p 0 = z 1 point source x y p 0 = z 0 direction vector source

6 If the goal in shading a computer synthesized image is to simulate a real physical object, then the shading model should in some way imitate real physical shading situations. Bui-Tuong Phong Phong Reflection Model Shading model was introduced in 1975 Close approximation to physical reality Model supports three types of materiallight interactions: ambient, diffuse and specular I = 1 α ( kd Ldl n+ ksls ( r v) k a+ bd + cd ) + 2 a L a Utah Teapot Phong Reflection Model Model uses four vectors to calculate a color for an arbitrary point p on a surface n is the normal at p v is in the direction from p to the viewer or COP l is in the direction of a line from p to the light source r is in the direction that a perfectly reflected ray from l would take 1975 Martin Newell of University of Utah creates the first environmentally mapped object

7 Phong Reflection Model Model supports three types of material-light interactions: ambient, diffuse and specular Given a set of point sources, assume each has separate ambient, diffuse and specular components for each of the primary colors 3x3 illumination matrix for the i th light source at any point p on the surface: L Li = L L ira ird irs L L L iga igd igs L L L iba ibd ibs Phong Reflection Model How much of the incident light is reflected at a point Amount of reflection depends on the material properties, surface orientation, light source direction and distance 3x3 reflection matrix for the i th light source at any point p on the surface: R Ri = R R ira ird irs R R R iga igd igs R R R iba ibd ibs Phong Reflection Model Now we compute the contribution for each color source by adding the ambient, diffuse and specular components e.g., the red intensity that we see at p from source i is I = R L + R L + R L = I + I + I ir ira ira ird ird Obtain the total intensity by adding the contributions of all sources and a global ambient term. Thus, the red term is r i ira ird irs irs irs = ) I ( I + I + I + I ira ar ird irs Phong Reflection Model Note that the necessary computations are the same for each source and for each primary color They differ depending on whether we are considering the ambient, diffuse or specular terms We can omit the subscript and write I = I + I + I = R L + R L + R L a d s a understanding that the computation will be done for each of the primaries and each source a d d s s

8 Ambient Reflection The intensity of ambient light L a is the same at every point on the surface Amount reflected is given by the ambient reflection coefficient, R a =k a Thus I a = k a L a where 0 k a 1 Diffuse Reflection A perfectly diffuse reflector scatters the light that it reflects equally in all directions Amount of light reflected is dependent on the material and the orientation of the light source Diffuse Reflection Diffuse Reflection The relationship between brightness and surface orientation is called Lambert s law θ θ Lambert s law states R d cosθ, where θ is the angle between the normal n and the direction of the light source l. If these are unit vectors, then cosθ = l n If we add the diffuse reflection coefficient k d, we have the diffuse reflection term: I d = k d (l n)l d

9 Specular Reflection We need to add highlights that are reflected from shiny objects Color is different from the color of the reflected ambient and diffuse light Specular Reflection Surface is smooth Smoothest surface resembles a mirror Reflected light is concentrated in a smaller range of angles as the surface gets smoother Modeling is complex, (wavelength of light and reflection angle) Specular Reflection Phong proposed an approximate model similar to the one used for diffuse surfaces I s =k s L s cos α φ where the coefficient k s (0 k s 1) is the fraction of the incoming specular light that is reflected, φ is the angle between the direction of the perfect reflector, r, and the direction of the viewer, v, and α is a shininess coefficient If we normalize r and v we can use the dot product and the specular reflection term is: I s =k s L s (r v) α Specular Reflection As it is increased, the reflected light is concentrated in a narrower region, centered on the angle of a perfect reflector

10 Phong Reflection Model Teapots, Teapots, We can add a quadratic attenuation term for distance from the light source and finally arrive at the Phong model: I = 1 α ( kd Ldl n+ ksls ( r v) k a+ bd + cd ) + 2 This formula is computed for each light source and for each primary color a L a Computation of Vectors Computation of Vectors Smooth curved surfaces are approximated by a large number of small flat polygons. Vectors perpendicular to these polygons can be used as the surface normals The surface appears faceted, since the normal direction is discontinuous across the polygonal boundaries. In many cases, however, an exact mathematical description exists for the surface, and true surface normals can be calculated at every point. Using the true normals improves the rendering considerably

11 Normal Vectors For smooth, flat surfaces, the vector normal to the surface exists at every point Plane: ax + by + cz + d = 0 Also, n (p - p 0 ) = 0 where p 0 is a point on the plane, p is any point (x,y,z) on the plane and n is the normal to the plane Normal Vectors Given three noncollinear points, p 0, p 1, p 2 and vectors p 2 - p 0 and p 1 - p 0 are parallel to the plane Normal: n = (p 2 - p 0 ) (p 1 - p 0 ) Order of the vectors in the cross product is important, since it determines pointing in or out OpenGL does not determine the normal automatically Normal Vectors For curved surfaces, there are different methods for representation (bezier, b-spline, NURBS) Unit Sphere, Implicit form: f ( x, y, z) = x + y + z 1= 0 Also, f(p) = p p 1 = 0 Normal Vectors Normal is given by the gradient vector f 2 n x f x = = 2y = 2p y f 2 z z

12 Normal Vectors We usually have to work with a collection of vertices and approximate a normal vector OpenGL takes the do-it-yourself approach to normals The user program must determine the normal We associate a normal with a vertex through the function glnormal3f(nx, ny, nz); All subsequent glvertex calls use that normal Angle of Reflection We use the normal n and the direction of the light source l to determine the direction of a perfect reflection Ideal mirror: The angle of incidence is equal to the angle of reflection angle of incidence θ i θ r angle of reflection Angle of Reflection For three dimensions: At a point p on the surface, the incoming light ray, the reflected light ray, and the normal at the point must all lie in the same plane We are concerned with the direction of r Unit-length vectors make rendering calculations easier Normalize l, n, and r such that l = n =1 and r = 1 Halfway Vector With the phong model, r v must be recalculated for every point of the surface Halfway vectors are used to simplify this calculation, replace r v with n h h = (l + v )/ l + v, it is a unit vector halfway

13 Transmitted Light Transmitted Light Ideal condition is a surface that transmits all the light that strikes it Light is bent at the surface due to the difference in the speed of light in the materials η l and η t are the indices of refraction, the relative speed of light in two materials Snell s law, sinθ l ηt = sinθ η t l θ l θ t ideal reality Phong Shading Polygonal Shading Assuming we can compute normal vectors, we can use our lighting models and apply them to every point on the surface Computationally expensive Polygons simplify this process Decompose curved surfaces into many small polygons where each polygon is flat and it has a well defined normal vector Polygonal Mesh

14 Flat Shading l, n, and v vary from point to point on a surface For a flat polygon, n is constant Over a distance, l and v are constant Distance can be interpreted by relative size of the polygon to the viewer Flat Shading If the three vectors are constant, then the shading calculation needs to be carried out only once for each polygon Each point on the polygon is assigned the same shade This technique is called flat shading glshademodel(gl_flat); OpenGL uses the normal associated with the first vertex of a single polygon Flat Shading Flat Shading Flat shading will show differences in shading for the polygons in our mesh Modeling a smooth surface will be disappointing Human visual system is very sensitive to small differences in light intensity because of lateral inhibition

15 Mach Bands Mach Bands The solid black curve represents the amount of light being reflected from the figure at the top. The red curve represents the brightness of this figure as it is usually perceived. To the left of the point where the figure just starts to get lighter people usually see a dark bar that is slightly darker that the area to the left of it This phenomenon was discovered by the famous physicist, Ernst Mach Interpolative Shading OpenGL interpolates colors assigned to vertices across a polygon (rotating cube) If the light source and viewer are distant, then we can use interpolative shading to shade a polygon in a constant shade OpenGL interpolates colors for primitives other than vertices via glshademodel(gl_smooth) Assign to each vertex the normal of the polygon being shaded Interpolative Shading Multiple polygons meet at interior vertices of the mesh, each with its own normal The normal at the vertex is discontinuous

16 Gourand Shading In Gourand shading, we define the normal at a vertex to be the normalized average of the normals of the polygons that share the vertex In the previous diagram, the vertex normal is given by n1 + n2 + n3 + n4 n= n + n + n + n Gourand shading is deceptively simple 4 Gourand Shading How do we find the normals that we should average? We need a data structure to represent the mesh Key info: which polygons meet at each vertex Phong Shading Phong proposed interpolating normals across each polygon Compute vertex normals by interpolating over the normals of the polygons that share the vertex Use bilinear interpolation to interpolate the normals over the polygon Determine the normal at any interior point with n(α, β)=(1-β)n C +βn D Make independent shading operation for each point and combine with scan conversion Phong Shading Produces smoother renderings but at a significant cost Gourand shading is built into hardware Phong Shading is usually done off line

17 Approximating A Sphere Tetrahedron No sphere in OpenGL Polygonal approximation to a sphere Recursive subdivision is a powerful technique for generating approximations to curves and surfaces to any desired accuracy Start with a tetrahedron Recursive Subdivision Four equilateral triangles Four vertices All four lie on the unit sphere centered at the origin ( 0,0,1),(0,2 2, 1 ),( 6, 2, 1 ),( 6, 2, 1 ) Recursive Subdivision but it s not a sphere Closer approximation by subdividing each facet of the tetrahedron into smaller triangles Connect bisectors of the sides of the triangle, forming four equilateral triangles

18 Recursive Subdivision Subdividing Continues but four new triangles are still in the same plane as the original triangle Move the new vertices created by bisection to the unit sphere Normalize each bisected vertex Light Sources OpenGL supports the four types of light sources and up to 8 light sources Format: gllightfv(source, parameter, pointer_to_array); Light and Position Nate Robins' Light and Position Tutorial Glfloat light0_pos[ ]={1.0, 2.0, 3.0, 1.0}; Position of the source Glfloat diffuse0[ ]={1.0, 0.0, 0.0, 1.0}; Amount of diffuse Glfloat ambient0[ ]={1.0, 0.0, 0.0, 1.0}; Amount of ambient Glfloat specular0[ ]={1.0, 1.0, 1.0, 1.0}; Amount of specular glenable(gl_lighting); glenable(gl_light0); gllightfv(gl_light0, GL_POSITION, light0_pos); gllightfv(gl_light0, GL_AMBIENT, ambient0); gllightfv(gl_light0, GL_DIFFUSE, diffuse0); gllightfv(gl_light0, GL_SPECULAR, specular0);

19 Materials Material properties in OpenGL match up directly with the supported light sources and the Phong reflection model Can specify different material properties for front and back faces of a surface Material properties are modal: values remain the same until changed Format: glmaterialfv(face, type, pointer_to_array); Glfloat light0_pos[ ]={1.0, 2.0, 3.0, 1.0}; Glfloat ambient[ ]={0.2, 0.2, 0.2, 1.0}; Glfloat diffuse[ ]={1.0, 0.8, 0.0, 1.0}; Glfloat specular[ ]={1.0, 1.0, 1.0, 1.0}; Light and Material Nate Robins' Light and Material Tutorial glmaterialfv(gl_front_and_back, GL_AMBIENT, ambient); glmaterialfv(gl_front_and_back, GL_DIFFUSE, diffuse); glmaterialfv(gl_front_and_back, GL_SPECULAR, specular); glmaterialfv(gl_front_and_back, GL_SHININESS, 100.0); Global Rendering Limitation to the local model Spheres close to the source block some of the light In local model, each sphere is shaded independently Ray Tracing Only rays that contribute to our images are those that enter the lens and pass through the COP Most rays do not contribute to our image Reverse the direction and consider only those ray that start at the COP, cast rays

20 Ray Tracing Ray Tracing cast rays Rule the image plane into pixel-sized areas Cast at least one ray through each pixel Intersect a surface or light source, or go off to nowhere, getting a background color Calculate a shade for surfaces that a ray strikes Ray Tracing Ray Tracing handled recursively shadow ray ray tree

21 Ray Tracing Easiest way to describe a ray tracer is recursively Most of the work in ray tracing goes into the calculation of intersections between rays and surfaces Best suited for highly reflective environments Radiosity Radiosity is ideal for a scene consisting of only perfectly diffuse surfaces Diffuse-diffuse interactions shading model Assume all surfaces are perfectly diffuse Simulates the actual behavior of light The goal of the radiosity method is to find the point of equilibrium of all the radiation in the system. Radiosity Radiosity

22 Radiosity One Last Ugly Teapot

CHAPTER5. We have learned to build three-dimensional graphical models and to LIGHTING AND SHADING

CHAPTER5. We have learned to build three-dimensional graphical models and to LIGHTING AND SHADING LIGHTING AND SHADING CHAPTER5 We have learned to build three-dimensional graphical models and to display them. However, if you render one of our models, you might be disappointed to see images that look

More information

Lighting. Figure 10.1

Lighting. Figure 10.1 We have learned to build three-dimensional graphical models and to display them. However, if you render one of our models, you might be disappointed to see images that look flat and thus fail to show the

More information

Comp 410/510 Computer Graphics. Spring Shading

Comp 410/510 Computer Graphics. Spring Shading Comp 410/510 Computer Graphics Spring 2017 Shading Why we need shading Suppose we build a model of a sphere using many polygons and then color it using a fixed color. We get something like But we rather

More information

Lighting and Shading Computer Graphics I Lecture 7. Light Sources Phong Illumination Model Normal Vectors [Angel, Ch

Lighting and Shading Computer Graphics I Lecture 7. Light Sources Phong Illumination Model Normal Vectors [Angel, Ch 15-462 Computer Graphics I Lecture 7 Lighting and Shading February 12, 2002 Frank Pfenning Carnegie Mellon University http://www.cs.cmu.edu/~fp/courses/graphics/ Light Sources Phong Illumination Model

More information

Computer Graphics. Illumination and Shading

Computer Graphics. Illumination and Shading () Illumination and Shading Dr. Ayman Eldeib Lighting So given a 3-D triangle and a 3-D viewpoint, we can set the right pixels But what color should those pixels be? If we re attempting to create a realistic

More information

Virtual Reality for Human Computer Interaction

Virtual Reality for Human Computer Interaction Virtual Reality for Human Computer Interaction Appearance: Lighting Representation of Light and Color Do we need to represent all I! to represent a color C(I)? No we can approximate using a three-color

More information

Overview. Shading. Shading. Why we need shading. Shading Light-material interactions Phong model Shading polygons Shading in OpenGL

Overview. Shading. Shading. Why we need shading. Shading Light-material interactions Phong model Shading polygons Shading in OpenGL Overview Shading Shading Light-material interactions Phong model Shading polygons Shading in OpenGL Why we need shading Suppose we build a model of a sphere using many polygons and color it with glcolor.

More information

Three-Dimensional Graphics V. Guoying Zhao 1 / 55

Three-Dimensional Graphics V. Guoying Zhao 1 / 55 Computer Graphics Three-Dimensional Graphics V Guoying Zhao 1 / 55 Shading Guoying Zhao 2 / 55 Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material

More information

Illumination & Shading

Illumination & Shading Illumination & Shading Goals Introduce the types of light-material interactions Build a simple reflection model---the Phong model--- that can be used with real time graphics hardware Why we need Illumination

More information

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Lecture 15: Shading-I. CITS3003 Graphics & Animation Lecture 15: Shading-I CITS3003 Graphics & Animation E. Angel and D. Shreiner: Interactive Computer Graphics 6E Addison-Wesley 2012 Objectives Learn that with appropriate shading so objects appear as threedimensional

More information

Shading. Why we need shading. Scattering. Shading. Objectives

Shading. Why we need shading. Scattering. Shading. Objectives Shading Why we need shading Objectives Learn to shade objects so their images appear three-dimensional Suppose we build a model of a sphere using many polygons and color it with glcolor. We get something

More information

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside CS130 : Computer Graphics Lecture 8: Lighting and Shading Tamar Shinar Computer Science & Engineering UC Riverside Why we need shading Suppose we build a model of a sphere using many polygons and color

More information

Illumination Model. The governing principles for computing the. Apply the lighting model at a set of points across the entire surface.

Illumination Model. The governing principles for computing the. Apply the lighting model at a set of points across the entire surface. Illumination and Shading Illumination (Lighting) Model the interaction of light with surface points to determine their final color and brightness OpenGL computes illumination at vertices illumination Shading

More information

WHY WE NEED SHADING. Suppose we build a model of a sphere using many polygons and color it with glcolor. We get something like.

WHY WE NEED SHADING. Suppose we build a model of a sphere using many polygons and color it with glcolor. We get something like. LIGHTING 1 OUTLINE Learn to light/shade objects so their images appear three-dimensional Introduce the types of light-material interactions Build a simple reflection model---the Phong model--- that can

More information

Illumination and Shading

Illumination and Shading Illumination and Shading Illumination (Lighting) Model the interaction of light with surface points to determine their final color and brightness OpenGL computes illumination at vertices illumination Shading

More information

Objectives. Introduce Phong model Introduce modified Phong model Consider computation of required vectors Discuss polygonal shading.

Objectives. Introduce Phong model Introduce modified Phong model Consider computation of required vectors Discuss polygonal shading. Shading II 1 Objectives Introduce Phong model Introduce modified Phong model Consider computation of required vectors Discuss polygonal shading Flat Smooth Gouraud 2 Phong Lighting Model A simple model

More information

Computer Graphics. Shading. Based on slides by Dianna Xu, Bryn Mawr College

Computer Graphics. Shading. Based on slides by Dianna Xu, Bryn Mawr College Computer Graphics Shading Based on slides by Dianna Xu, Bryn Mawr College Image Synthesis and Shading Perception of 3D Objects Displays almost always 2 dimensional. Depth cues needed to restore the third

More information

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Why do we need Lighting

More information

Shading I Computer Graphics I, Fall 2008

Shading I Computer Graphics I, Fall 2008 Shading I 1 Objectives Learn to shade objects ==> images appear threedimensional Introduce types of light-material interactions Build simple reflection model Phong model Can be used with real time graphics

More information

Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1)

Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1) Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1) Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Why do we need Lighting & shading? Sphere

More information

Why we need shading?

Why we need shading? Why we need shading? Suppose we build a model of a sphere using many polygons and color it with glcolor. We get something like But we want Light-material interactions cause each point to have a different

More information

Illumination and Shading

Illumination and Shading Illumination and Shading Illumination (Lighting)! Model the interaction of light with surface points to determine their final color and brightness! The illumination can be computed either at vertices or

More information

Introduction to Computer Graphics 7. Shading

Introduction to Computer Graphics 7. Shading Introduction to Computer Graphics 7. Shading National Chiao Tung Univ, Taiwan By: I-Chen Lin, Assistant Professor Textbook: Hearn and Baker, Computer Graphics, 3rd Ed., Prentice Hall Ref: E.Angel, Interactive

More information

Shading and Illumination

Shading and Illumination Shading and Illumination OpenGL Shading Without Shading With Shading Physics Bidirectional Reflectance Distribution Function (BRDF) f r (ω i,ω ) = dl(ω ) L(ω i )cosθ i dω i = dl(ω ) L(ω i )( ω i n)dω

More information

Rendering. Illumination Model. Wireframe rendering simple, ambiguous Color filling flat without any 3D information

Rendering. Illumination Model. Wireframe rendering simple, ambiguous Color filling flat without any 3D information llumination Model Wireframe rendering simple, ambiguous Color filling flat without any 3D information Requires modeling interaction of light with the object/surface to have a different color (shade in

More information

Illumination & Shading: Part 1

Illumination & Shading: Part 1 Illumination & Shading: Part 1 Light Sources Empirical Illumination Shading Local vs Global Illumination Lecture 10 Comp 236 Spring 2005 Computer Graphics Jargon: Illumination Models Illumination - the

More information

Illumination and Shading

Illumination and Shading Illumination and Shading Computer Graphics COMP 770 (236) Spring 2007 Instructor: Brandon Lloyd 2/14/07 1 From last time Texture mapping overview notation wrapping Perspective-correct interpolation Texture

More information

CEng 477 Introduction to Computer Graphics Fall

CEng 477 Introduction to Computer Graphics Fall Illumination Models and Surface-Rendering Methods CEng 477 Introduction to Computer Graphics Fall 2007 2008 Illumination Models and Surface Rendering Methods In order to achieve realism in computer generated

More information

Reading. Shading. An abundance of photons. Introduction. Required: Angel , 6.5, Optional: Angel 6.4 OpenGL red book, chapter 5.

Reading. Shading. An abundance of photons. Introduction. Required: Angel , 6.5, Optional: Angel 6.4 OpenGL red book, chapter 5. Reading Required: Angel 6.1-6.3, 6.5, 6.7-6.8 Optional: Shading Angel 6.4 OpenGL red book, chapter 5. 1 2 Introduction An abundance of photons So far, we ve talked exclusively about geometry. Properly

More information

Reflection and Shading

Reflection and Shading Reflection and Shading R. J. Renka Department of Computer Science & Engineering University of North Texas 10/19/2015 Light Sources Realistic rendering requires that we model the interaction between light

More information

C O M P U T E R G R A P H I C S. Computer Graphics. Three-Dimensional Graphics V. Guoying Zhao 1 / 65

C O M P U T E R G R A P H I C S. Computer Graphics. Three-Dimensional Graphics V. Guoying Zhao 1 / 65 Computer Graphics Three-Dimensional Graphics V Guoying Zhao 1 / 65 Shading Guoying Zhao 2 / 65 Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material

More information

Today s class. Simple shadows Shading Lighting in OpenGL. Informationsteknologi. Wednesday, November 21, 2007 Computer Graphics - Class 10 1

Today s class. Simple shadows Shading Lighting in OpenGL. Informationsteknologi. Wednesday, November 21, 2007 Computer Graphics - Class 10 1 Today s class Simple shadows Shading Lighting in OpenGL Wednesday, November 21, 27 Computer Graphics - Class 1 1 Simple shadows Simple shadows can be gotten by using projection matrices Consider a light

More information

Lecture 17: Shading in OpenGL. CITS3003 Graphics & Animation

Lecture 17: Shading in OpenGL. CITS3003 Graphics & Animation Lecture 17: Shading in OpenGL CITS3003 Graphics & Animation E. Angel and D. Shreiner: Interactive Computer Graphics 6E Addison-Wesley 2012 Objectives Introduce the OpenGL shading methods - per vertex shading

More information

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source Topic 9: Lighting & Reflection models Lighting & reflection The Phong reflection model diffuse component ambient component specular component Spot the differences Terminology Illumination The transport

More information

Computer Graphics. Illumination and Shading

Computer Graphics. Illumination and Shading Rendering Pipeline modelling of geometry transformation into world coordinates placement of cameras and light sources transformation into camera coordinates backface culling projection clipping w.r.t.

More information

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component Topic 9: Lighting & Reflection models Lighting & reflection The Phong reflection model diffuse component ambient component specular component Spot the differences Terminology Illumination The transport

More information

CS452/552; EE465/505. Intro to Lighting

CS452/552; EE465/505. Intro to Lighting CS452/552; EE465/505 Intro to Lighting 2-10 15 Outline! Projection Normalization! Introduction to Lighting (and Shading) Read: Angel Chapter 5., sections 5.4-5.7 Parallel Projections Chapter 6, sections

More information

Shading , Fall 2004 Nancy Pollard Mark Tomczak

Shading , Fall 2004 Nancy Pollard Mark Tomczak 15-462, Fall 2004 Nancy Pollard Mark Tomczak Shading Shading Concepts Shading Equations Lambertian, Gouraud shading Phong Illumination Model Non-photorealistic rendering [Shirly, Ch. 8] Announcements Written

More information

ECS 175 COMPUTER GRAPHICS. Ken Joy.! Winter 2014

ECS 175 COMPUTER GRAPHICS. Ken Joy.! Winter 2014 ECS 175 COMPUTER GRAPHICS Ken Joy Winter 2014 Shading To be able to model shading, we simplify Uniform Media no scattering of light Opaque Objects No Interreflection Point Light Sources RGB Color (eliminating

More information

surface: reflectance transparency, opacity, translucency orientation illumination: location intensity wavelength point-source, diffuse source

surface: reflectance transparency, opacity, translucency orientation illumination: location intensity wavelength point-source, diffuse source walters@buffalo.edu CSE 480/580 Lecture 18 Slide 1 Illumination and Shading Light reflected from nonluminous objects depends on: surface: reflectance transparency, opacity, translucency orientation illumination:

More information

Visualisatie BMT. Rendering. Arjan Kok

Visualisatie BMT. Rendering. Arjan Kok Visualisatie BMT Rendering Arjan Kok a.j.f.kok@tue.nl 1 Lecture overview Color Rendering Illumination 2 Visualization pipeline Raw Data Data Enrichment/Enhancement Derived Data Visualization Mapping Abstract

More information

Light Transport Baoquan Chen 2017

Light Transport Baoquan Chen 2017 Light Transport 1 Physics of Light and Color It s all electromagnetic (EM) radiation Different colors correspond to radiation of different wavelengths Intensity of each wavelength specified by amplitude

More information

CS 4600 Fall Utah School of Computing

CS 4600 Fall Utah School of Computing Lighting CS 4600 Fall 2015 Utah School of Computing Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material interactions Build a simple reflection

More information

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016 CSE 167: Introduction to Computer Graphics Lecture #6: Lights Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016 Announcements Thursday in class: midterm #1 Closed book Material

More information

Reading. Shading. Introduction. An abundance of photons. Required: Angel , Optional: OpenGL red book, chapter 5.

Reading. Shading. Introduction. An abundance of photons. Required: Angel , Optional: OpenGL red book, chapter 5. Reading Required: Angel 6.1-6.5, 6.7-6.8 Optional: Shading OpenGL red book, chapter 5. 1 2 Introduction So far, we ve talked exclusively about geometry. What is the shape of an obect? How do I place it

More information

CS5620 Intro to Computer Graphics

CS5620 Intro to Computer Graphics So Far wireframe hidden surfaces Next step 1 2 Light! Need to understand: How lighting works Types of lights Types of surfaces How shading works Shading algorithms What s Missing? Lighting vs. Shading

More information

Local Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

Local Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller Local Illumination CMPT 361 Introduction to Computer Graphics Torsten Möller Graphics Pipeline Hardware Modelling Transform Visibility Illumination + Shading Perception, Interaction Color Texture/ Realism

More information

CPSC 314 LIGHTING AND SHADING

CPSC 314 LIGHTING AND SHADING CPSC 314 LIGHTING AND SHADING UGRAD.CS.UBC.CA/~CS314 slide credits: Mikhail Bessmeltsev et al 1 THE RENDERING PIPELINE Vertices and attributes Vertex Shader Modelview transform Per-vertex attributes Vertex

More information

Objectives Shading in OpenGL. Front and Back Faces. OpenGL shading. Introduce the OpenGL shading methods. Discuss polygonal shading

Objectives Shading in OpenGL. Front and Back Faces. OpenGL shading. Introduce the OpenGL shading methods. Discuss polygonal shading Objectives Shading in OpenGL Introduce the OpenGL shading methods - per vertex shading vs per fragment shading - Where to carry out Discuss polygonal shading - Flat - Smooth - Gouraud CITS3003 Graphics

More information

Sung-Eui Yoon ( 윤성의 )

Sung-Eui Yoon ( 윤성의 ) CS380: Computer Graphics Illumination and Shading Sung-Eui Yoon ( 윤성의 ) Course URL: http://sglab.kaist.ac.kr/~sungeui/cg/ Course Objectives (Ch. 10) Know how to consider lights during rendering models

More information

w Foley, Section16.1 Reading

w Foley, Section16.1 Reading Shading w Foley, Section16.1 Reading Introduction So far, we ve talked exclusively about geometry. w What is the shape of an object? w How do I place it in a virtual 3D space? w How do I know which pixels

More information

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models Computergrafik Matthias Zwicker Universität Bern Herbst 2009 Today Introduction Local shading models Light sources strategies Compute interaction of light with surfaces Requires simulation of physics Global

More information

Illumination and Shading

Illumination and Shading CT4510: Computer Graphics Illumination and Shading BOCHANG MOON Photorealism The ultimate goal of rendering is to produce photo realistic images. i.e., rendered images should be indistinguishable from

More information

M jrs M jgs M jbs Intensity of light reflected from surface j when illuminated by source i: I ijr

M jrs M jgs M jbs Intensity of light reflected from surface j when illuminated by source i: I ijr Lighting Basics: ADS Model The ADS (ambient, diffuse, specular) model simulates shading in terms of these three components Light source i is modeled as emitting L ira L iga L iba L i = L ird L igd L ibd

More information

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 CSE 167: Introduction to Computer Graphics Lecture #7: Color and Shading Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 Announcements Homework project #3 due this Friday,

More information

Lighting and Shading. Slides: Tamar Shinar, Victor Zordon

Lighting and Shading. Slides: Tamar Shinar, Victor Zordon Lighting and Shading Slides: Tamar Shinar, Victor Zordon Why we need shading Suppose we build a model of a sphere using many polygons and color each the same color. We get something like But we want 2

More information

Illumination in Computer Graphics

Illumination in Computer Graphics Illumination in Computer Graphics Ann McNamara Illumination in Computer Graphics Definition of light sources. Analysis of interaction between light and objects in a scene. Rendering images that are faithful

More information

Objectives. Shading II. Distance Terms. The Phong Reflection Model

Objectives. Shading II. Distance Terms. The Phong Reflection Model Shading II Objectives Introduce distance terms to the shading model. More details about the Phong model (lightmaterial interaction). Introduce the Blinn lighting model (also known as the modified Phong

More information

Orthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015

Orthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015 Orthogonal Projection Matrices 1 Objectives Derive the projection matrices used for standard orthogonal projections Introduce oblique projections Introduce projection normalization 2 Normalization Rather

More information

University of Victoria CSC 305 Shading. Brian Wyvill 2016

University of Victoria CSC 305 Shading. Brian Wyvill 2016 University of Victoria CSC 305 Shading Brian Wyvill 2016 The illuminating Hemisphere Energy and Intensity Energy is the intensity integrated over the solid angle through which it acts. Intensity is not

More information

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models Computergrafik Thomas Buchberger, Matthias Zwicker Universität Bern Herbst 2008 Today Introduction Local shading models Light sources strategies Compute interaction of light with surfaces Requires simulation

More information

CS Surface Rendering

CS Surface Rendering CS10101001 Surface Rendering Junqiao Zhao 赵君峤 Department of Computer Science and Technology College of Electronics and Information Engineering Tongji University Surface rendering How do we choose a color

More information

CS770/870 Spring 2017 Color and Shading

CS770/870 Spring 2017 Color and Shading Preview CS770/870 Spring 2017 Color and Shading Related material Cunningham: Ch 5 Hill and Kelley: Ch. 8 Angel 5e: 6.1-6.8 Angel 6e: 5.1-5.5 Making the scene more realistic Color models representing the

More information

CPSC / Illumination and Shading

CPSC / Illumination and Shading CPSC 599.64 / 601.64 Rendering Pipeline usually in one step modelling of geometry transformation into world coordinate system placement of cameras and light sources transformation into camera coordinate

More information

OpenGL Lighting Computer Graphics Spring Frank Palermo

OpenGL Lighting Computer Graphics Spring Frank Palermo OpenGL Lighting 15-462 Computer Graphics Spring 2009 Frank Palermo OpenGL is just a bunch of hacks. -Adrien Treuille What Adrien Means... What Adrien means is that OpenGL was designed to produce reasonable-looking

More information

Simple Lighting/Illumination Models

Simple Lighting/Illumination Models Simple Lighting/Illumination Models Scene rendered using direct lighting only Photograph Scene rendered using a physically-based global illumination model with manual tuning of colors (Frederic Drago and

More information

Illumination and Shading ECE 567

Illumination and Shading ECE 567 Illumination and Shading ECE 567 Overview Lighting Models Ambient light Diffuse light Specular light Shading Models Flat shading Gouraud shading Phong shading OpenGL 2 Introduction To add realism to drawings

More information

Illumination & Shading I

Illumination & Shading I CS 543: Computer Graphics Illumination & Shading I Robert W. Lindeman Associate Professor Interactive Media & Game Development Department of Computer Science Worcester Polytechnic Institute gogo@wpi.edu

More information

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows Recollection Models Pixels Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows Can be computed in different stages 1 So far we came to Geometry model 3 Surface

More information

Computer Graphics I Lecture 11

Computer Graphics I Lecture 11 15-462 Computer Graphics I Lecture 11 Midterm Review Assignment 3 Movie Midterm Review Midterm Preview February 26, 2002 Frank Pfenning Carnegie Mellon University http://www.cs.cmu.edu/~fp/courses/graphics/

More information

CS 325 Computer Graphics

CS 325 Computer Graphics CS 325 Computer Graphics 04 / 02 / 2012 Instructor: Michael Eckmann Today s Topics Questions? Comments? Illumination modelling Ambient, Diffuse, Specular Reflection Surface Rendering / Shading models Flat

More information

Computer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL

Computer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL Computer Graphics Chapter 10 llumination Models and Surface-Rendering Methods Somsak Walairacht, Computer Engineering, KMTL Outline Light Sources Surface Lighting Effects Basic llumination Models Polygon

More information

6. Illumination, Lighting

6. Illumination, Lighting Jorg s Graphics Lecture Notes 6. Illumination, Lighting 1 6. Illumination, Lighting No ray tracing in OpenGL! ray tracing: direct paths COP interreflection: soft shadows, color bleeding. umbra, penumbra,

More information

Computer Graphics. Ray Tracing. Based on slides by Dianna Xu, Bryn Mawr College

Computer Graphics. Ray Tracing. Based on slides by Dianna Xu, Bryn Mawr College Computer Graphics Ray Tracing Based on slides by Dianna Xu, Bryn Mawr College Ray Tracing Example Created by Anto Matkovic Ray Tracing Example Ray Tracing Example Ray Tracing Most light rays do not reach

More information

CS 4731: Computer Graphics Lecture 16: Phong Illumination and Shading. Emmanuel Agu

CS 4731: Computer Graphics Lecture 16: Phong Illumination and Shading. Emmanuel Agu CS 4731: Computer Graphics Lecture 16: Phong Illumination and Shading Emmanuel Agu Recall: Setting Light Property Define colors and position a light GLfloat light_ambient[] = {0.0, 0.0, 0.0, 1.0}; GLfloat

More information

Illumination Models & Shading

Illumination Models & Shading Illumination Models & Shading Lighting vs. Shading Lighting Interaction between materials and light sources Physics Shading Determining the color of a pixel Computer Graphics ZBuffer(Scene) PutColor(x,y,Col(P));

More information

Lessons Learned from HW4. Shading. Objectives. Why we need shading. Shading. Scattering

Lessons Learned from HW4. Shading. Objectives. Why we need shading. Shading. Scattering Lessons Learned from HW Shading CS Interactive Computer Graphics Prof. David E. Breen Department of Computer Science Only have an idle() function if something is animated Set idle function to NULL, when

More information

5.2 Shading in OpenGL

5.2 Shading in OpenGL Fall 2017 CSCI 420: Computer Graphics 5.2 Shading in OpenGL Hao Li http://cs420.hao-li.com 1 Outline Normal Vectors in OpenGL Polygonal Shading Light Sources in OpenGL Material Properties in OpenGL Example:

More information

CS Computer Graphics: Illumination and Shading I

CS Computer Graphics: Illumination and Shading I CS 543 - Computer Graphics: Illumination and Shading I by Robert W. Lindeman gogo@wpi.edu (with help from Emmanuel Agu ;-) Illumination and Shading Problem: Model light/surface point interactions to determine

More information

CS Computer Graphics: Illumination and Shading I

CS Computer Graphics: Illumination and Shading I CS 543 - Computer Graphics: Illumination and Shading I by Robert W. Lindeman gogo@wpi.edu (with help from Emmanuel Agu ;-) Illumination and Shading Problem: Model light/surface point interactions to determine

More information

Ambient reflection. Jacobs University Visualization and Computer Graphics Lab : Graphics and Visualization 407

Ambient reflection. Jacobs University Visualization and Computer Graphics Lab : Graphics and Visualization 407 Ambient reflection Phong reflection is a local illumination model. It only considers the reflection of light that directly comes from the light source. It does not compute secondary reflection of light

More information

Shading II. CITS3003 Graphics & Animation

Shading II. CITS3003 Graphics & Animation Shading II CITS3003 Graphics & Animation Objectives Introduce distance terms to the shading model. More details about the Phong model (lightmaterial interaction). Introduce the Blinn lighting model (also

More information

INF3320 Computer Graphics and Discrete Geometry

INF3320 Computer Graphics and Discrete Geometry INF3320 Computer Graphics and Discrete Geometry Visual appearance Christopher Dyken and Martin Reimers 23.09.2009 Page 1 Visual appearance Real Time Rendering: Chapter 5 Light Sources and materials Shading

More information

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources. 11 11.1 Basics So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources. Global models include incident light that arrives

More information

Chapter 10. Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL

Chapter 10. Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL Computer Graphics Chapter 10 llumination Models and Surface-Rendering Methods Somsak Walairacht, Computer Engineering, KMTL 1 Outline Light Sources Surface Lighting Effects Basic llumination Models Polygon

More information

CHAPTER 1 Graphics Systems and Models 3

CHAPTER 1 Graphics Systems and Models 3 ?????? 1 CHAPTER 1 Graphics Systems and Models 3 1.1 Applications of Computer Graphics 4 1.1.1 Display of Information............. 4 1.1.2 Design.................... 5 1.1.3 Simulation and Animation...........

More information

Methodology for Lecture. Importance of Lighting. Outline. Shading Models. Brief primer on Color. Foundations of Computer Graphics (Spring 2010)

Methodology for Lecture. Importance of Lighting. Outline. Shading Models. Brief primer on Color. Foundations of Computer Graphics (Spring 2010) Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 11: OpenGL 3 http://inst.eecs.berkeley.edu/~cs184 Methodology for Lecture Lecture deals with lighting (teapot shaded as in HW1) Some Nate

More information

Virtual Reality for Human Computer Interaction

Virtual Reality for Human Computer Interaction Virtual Reality for Human Computer Interaction Appearance: Lighting Representation of Light and Color Representation of Light and Color Do we need to represent all I! to represent a color C(I)? Representation

More information

Shading in OpenGL. Outline. Defining and Maintaining Normals. Normalization. Enabling Lighting and Lights. Outline

Shading in OpenGL. Outline. Defining and Maintaining Normals. Normalization. Enabling Lighting and Lights. Outline CSCI 420 Computer Graphics Lecture 10 Shading in OpenGL Normal Vectors in OpenGL Polygonal Shading Light Source in OpenGL Material Properties in OpenGL Approximating a Sphere [Angel Ch. 6.5-6.9] Jernej

More information

Supplement to Lecture 16

Supplement to Lecture 16 Supplement to Lecture 16 Global Illumination: View Dependent CS 354 Computer Graphics http://www.cs.utexas.edu/~bajaj/ Notes and figures from Ed Angel: Interactive Computer Graphics, 6 th Ed., 2012 Addison

More information

Lighting and Shading II. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015

Lighting and Shading II. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015 Lighting and Shading II 1 Objectives Continue discussion of shading Introduce modified Phong model Consider computation of required vectors 2 Ambient Light Ambient light is the result of multiple interactions

More information

Lighting/Shading III. Week 7, Wed Mar 3

Lighting/Shading III. Week 7, Wed Mar 3 University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2010 Tamara Munzner Lighting/Shading III Week 7, Wed Mar 3 http://www.ugrad.cs.ubc.ca/~cs314/vjan2010 reminders News don't need to tell

More information

Ray-Tracing. Misha Kazhdan

Ray-Tracing. Misha Kazhdan Ray-Tracing Misha Kazhdan Ray-Tracing In graphics, we often represent the surface of a 3D shape by a set of triangles. Goal: Ray-Tracing Take a collection of triangles representing a 3D scene and render

More information

Graphics for VEs. Ruth Aylett

Graphics for VEs. Ruth Aylett Graphics for VEs Ruth Aylett Overview VE Software Graphics for VEs The graphics pipeline Projections Lighting Shading VR software Two main types of software used: off-line authoring or modelling packages

More information

Today we will start to look at illumination models in computer graphics

Today we will start to look at illumination models in computer graphics 1 llumination Today we will start to look at illumination models in computer graphics Why do we need illumination models? Different kinds lights Different kinds reflections Basic lighting model 2 Why Lighting?

More information

Introduction Rasterization Z-buffering Shading. Graphics 2012/2013, 4th quarter. Lecture 09: graphics pipeline (rasterization and shading)

Introduction Rasterization Z-buffering Shading. Graphics 2012/2013, 4th quarter. Lecture 09: graphics pipeline (rasterization and shading) Lecture 9 Graphics pipeline (rasterization and shading) Graphics pipeline - part 1 (recap) Perspective projection by matrix multiplication: x pixel y pixel z canonical 1 x = M vpm per M cam y z 1 This

More information

CS230 : Computer Graphics Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

CS230 : Computer Graphics Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside CS230 : Computer Graphics Lighting and Shading Tamar Shinar Computer Science & Engineering UC Riverside General light source Illumination function: [Angel and Shreiner] integrate contributions from all

More information

Lighting and Shading

Lighting and Shading Lighting and Shading Today: Local Illumination Solving the rendering equation is too expensive First do local illumination Then hack in reflections and shadows Local Shading: Notation light intensity in,

More information

Topics and things to know about them:

Topics and things to know about them: Practice Final CMSC 427 Distributed Tuesday, December 11, 2007 Review Session, Monday, December 17, 5:00pm, 4424 AV Williams Final: 10:30 AM Wednesday, December 19, 2007 General Guidelines: The final will

More information

CS Illumination and Shading. Slide 1

CS Illumination and Shading. Slide 1 CS 112 - Illumination and Shading Slide 1 Illumination/Lighting Interaction between light and surfaces Physics of optics and thermal radiation Very complex: Light bounces off several surface before reaching

More information