3/23/2005 © Dr. Zachary Wartell 1 Illumination Models and Surface- Rendering Methods.

Slides:



Advertisements
Similar presentations
5.1 si31_2001 SI31 Advanced Computer Graphics AGR Lecture 5 A Simple Reflection Model.
Advertisements

Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
Illumination Lighting and Shading CSE 470/598 Introduction to Computer Graphics Arizona State University Dianne Hansford.
1 Graphics CSCI 343, Fall 2013 Lecture 18 Lighting and Shading.
CAP 4703 Computer Graphic Methods Prof. Roy Levow Chapter 6.
Week 5 - Friday.  What did we talk about last time?  Quaternions  Vertex blending  Morphing  Projections.
Lecture 14 Illumination II – Global Models
Virtual Realism LIGHTING AND SHADING. Lighting & Shading Approximate physical reality Ray tracing: Follow light rays through a scene Accurate, but expensive.
1 Computer Graphics By : Mohammed abu Lamdy ITGD3107 University of Palestine Supervision: Assistant Professor Dr. Sana’a Wafa Al-Sayegh.
Lighting and Illumination Lighting is the major problem in computer graphics, for either realism or real-time compositions- harder than modeling Consider.
Light Issues in Computer Graphics Presented by Saleema Amershi.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Based on slides created by Edward Angel
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Shading I.
University of New Mexico
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Tamara Munzner Lighting/Shading III Week.
Illumination Model How to compute color to represent a scene As in taking a photo in real life: – Camera – Lighting – Object Geometry Material Illumination.
Rendering (彩現 渲染).
IMGD 1001: Illumination by Mark Claypool
1 CSCE 641: Computer Graphics Lighting Jinxiang Chai.
7M836 Animation & Rendering
Objectives Learn to shade objects so their images appear three- dimensional Learn to shade objects so their images appear three- dimensional Introduce.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Lighting and Shading Week.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Shading Week 5, Wed 1 Oct 2003 recap: lighting shading.
Illumination and Shading
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Shading I Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Course Website: Computer Graphics 16: Illumination.
LIGHTING Part One - Theory based on Chapter 6. Lights in the real world Lights bounce off surfaces and reflect colors, scattering light in many directions.
Shading Surface can either (both) 1.Emit light. E.g. light bult 2.Reflect light. E.g. Mirror.
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
Illumination.
Fundamentals of Computer Graphics Part 6 Shading prof.ing.Václav Skala, CSc. University of West Bohemia Plzeň, Czech Republic ©2002 Prepared with Angel,E.:
CS 445 / 645: Introductory Computer Graphics
Lecture 5: 3D Rendering Pipeline (II) Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Institute of Technology.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
COMPUTER GRAPHICS CS 482 – FALL 2014 AUGUST 27, 2014 FIXED-FUNCTION 3D GRAPHICS MESH SPECIFICATION LIGHTING SPECIFICATION REFLECTION SHADING HIERARCHICAL.
Human Eye and Color Rays of light enter the pupil and strike the back of the eye (retina) – signals go to the optic nerve and eventually to the brain Retina.
CSC418 Computer Graphics n Illumination n Lights n Lightinging models.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
David Luebke 1 10/26/2015 Lighting CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Steve Sterley. Real World Lighting Physical objects tend to interact with light in three ways: Absorption (black body) Reflection (mirror) Transmission.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Basic Rendering Pipeline and Shading Spring 2012.
Illumination.
Illumination and Shading
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Lecture Fall 2001 Illumination and Shading in OpenGL Light Sources Empirical Illumination Shading Transforming Normals Tong-Yee Lee.
Local Illumination and Shading
Where We Stand So far we know how to: –Transform between spaces –Rasterize –Decide what’s in front Next –Deciding its intensity and color.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Illumination Model How to compute color to represent a scene As in taking a photo in real life: – Camera – Lighting – Object Geometry Material Illumination.
OpenGL Shading. 2 Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material interactions Build.
Lighting and Reflection Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Illumination Models. Introduction 1 Illumination model: Given a point on a surface, what is the perceived color and intensity? Known as Lighting Model,
CS552: Computer Graphics Lecture 33: Illumination and Shading.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Computer Graphics: Illumination
Illumination Models and Surface-Rendering Methods CEng 477 Introduction to Computer Graphics.
Illumination and Shading. Illumination (Lighting) Model the interaction of light with surface points to determine their final color and brightness OpenGL.
Computer Graphics (fall,2010) School of Computer Science University of Seoul Minho Kim.
7. Illumination Phong Illumination Diffuse, Specular and Ambient
Lighting.
Illumination Model How to compute color to represent a scene
Fundamentals of Computer Graphics Part 6 Shading
Isaac Gang University of Mary Hardin-Baylor
Chapter IX Lighting.
14th Lecture – Final Lecture
CS 480/680 Computer Graphics Shading.
Presentation transcript:

3/23/2005 © Dr. Zachary Wartell 1 Illumination Models and Surface- Rendering Methods

3/23/2005 © Dr. Zachary Wartell 2 light models and surface rendering light model – model for calculating the light intensity at a single surface point surface rendering – procedure for applying a lighting model to obtain pixel colors for each pixel on a projected surface. Options: –compute light model at every pixel ray-tracing, scan-line graphics hardware circa 2000 (but more computation→lower framerate) –compute light model at few surface locations and interpolate color of other pixels older scan-line graphics hardware, modern hardware must still balance realism vs framerate.

3/23/2005 © Dr. Zachary Wartell 3 Light in real world medium emission spectrum reflection spectrum phototopic curve (eye sensitivity)

3/23/2005 © Dr. Zachary Wartell 4 Light in graphics medium emission spectrum reflection spectrum Display RGB pixels space “outside” display typically not computationally modeled

3/23/2005 © Dr. Zachary Wartell 5 Light interactions Light interacts with a surface in some combination of: emission reflection –on surface : mirror, specular or diffuse –suspended particles: random scattering transmission –transparent, translucent, refraction absorption

3/23/2005 © Dr. Zachary Wartell 6 Distance Attenuation emission spectrum Display RGB pixel At farther distances same amount of energy is spread over a larger area (section of sphere). In particular: energy/area = 1 / distance 2

3/23/2005 © Dr. Zachary Wartell 7 Directional Light Sources Point Light Source V light θlθl V obj α If α < θ l then P is illuminated by light; otherwise it is not. V obj  V light = cos α, so test V obj  V light ≥ cos θ l P assumes vectors are normalized and 0 ≤ θ l ≤ 90 ◦

3/23/2005 © Dr. Zachary Wartell 8 Surface Lighting Effects: Diffuse Reflection diffuse reflection – reflection intensity equal in all outgoing directions. Reflected light color is due to combination of incoming spectrum and surface absorption spectrum

3/23/2005 © Dr. Zachary Wartell 9 Surface Lighting Effects: Specular Reflection Specular reflection – reflected light is concentration in a particular outgoing direction. It appears as a highlight or bright spot on surface. In physical world reflected light is primarily due to incoming light spectrum, but graphics models usually include surface reflection spectrum also.

3/23/2005 © Dr. Zachary Wartell 10 Surface Lighting Effects: Ambient Light ambient light – approximates all the combined light that a surface receives from all other non- emitting surfaces. Light is not direct from light source but reflected off an intermediate surface. This is a very coarse approximation to reality. Doesn’t model “color bleeding”.

3/23/2005 © Dr. Zachary Wartell 11 Diffuse reflection of Point Light Source CGwOG, Hearn&Baker

3/23/2005 © Dr. Zachary Wartell 12 Diffuse Reflection of Ambient and Point Light CGwOG, Hearn & Baker

3/23/2005 © Dr. Zachary Wartell 13 Specular Reflection incident angle = reflection angle = θ mirror reflection – all reflected light follows R specular reflection – reflected light distributed in “reflection” cone around R N L V R θ θ Φ mirror shiny specular dull specular

3/23/2005 © Dr. Zachary Wartell 14 Combined Illumination Model ●to keep I in [0,1] range: clamp final result, normalize individual terms, or scale based on maximum of all pixels