Illumination and Shading


 Jacob Gilbert
 1 years ago
 Views:
Transcription
1 Illumination and Shading
2 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 fragments illumination
3 Shading! Interpolation from the vertex illumination or apply the lighting model at a set of points across the entire surface Shading
4 Illumination Model! The governing principles for computing the illumination! A illumination model usually considers:! Light attributes (light intensity, color, position, direction, shape)! Object surface attributes (color, reflectivity, transparency, etc)! Interaction among lights and objects (object orientation)! Interaction between objects and eye (viewing dir.)
5 Illumination Calculation! Local illumination: only consider the light, the observer position, and the object material properties θ! Example: OpenGL
6 Illumination Models! Global illumination: take into account the interaction of light from all the surfaces in the scene object 4 object 3 object 2 object 1! Example: Ray Tracing (in CSE 5545)
7 Basic Light Sources sun Point light Directional light Light intensity can be independent or dependent of the distance between object and the light source Spot light
8 Simple local illumination! The model used by OpenGL consider three types of light contribution to compute the final illumination of an object! Ambient! Diffuse! Specular! Final illumination of a point (vertex) = ambient + diffuse + specular
9 Ambient light contribution! Ambient light (background light): the light that is scattered by the environment! A very simple approximation of global illumination object 4 object 3 object 2 object 1! Independent of the light position,object orientation, observer s position or orientation ambient light has no direction
10 Ambient lighting example
11 Ambient light calculation! Each light source has an ambient light contribution (Ia)! Different objects can reflect different amounts of ambient (different ambient reflection coefficient Ka, 0 <= Ka <= 1) Note: both Ia and Ka are vectors for (R,G,B)! So the amount of ambient light that can be seen from an object is: Ambient = Ia x Ka
12 Diffuse light contribution! Diffuse light: The illumination that a surface receives from a light source and reflects equally in all direction It does not matter where the eye is
13 Diffuse lighting example
14 Diffuse light calculation! Need to decide how much light the object point receive from the light source based on Lambert s Law Receive more light Receive less light
15 Diffuse light calculation (2)! Lambert s law: the radiant energy D that a small surface patch receives from a light source is: I: light intensity D = I x cos (θ) θ: angle between the light vector and the surface normal light vector (vector from object to light) θ N : surface normal
16 Diffuse light calculation (3)! Like the ambient light case, different objects can reflect different amount of diffuse light (different diffuse reflection coefficient Kd, 0 <= Kd <= 1))! So, the amount of diffuse light that can be seen is: Diffuse = Kd x Id x cos (θ) θ L θ N cos(θ) = N.L
17 Specular light contribution! The bright spot on the object! The result of total reflection of the incident light in a concentrate region See nothing!
18 Specular light example
19 Specular light calculation! How much reflection you can see depends on where you are The only position the eye can see specular from P if the object has an ideal reflection surface θ? p φ But for a nonperfect surface you will still see specular highlight when you move a little bit away from the idea reflection direction When φ is small, you see more specular highlight
20 Specular light calculation (2)! Phong lighting model specular = Ks x Is x cos(φ) n Ka: specular reflection coefficient (a vector for [R,G,B]) N: surface normal at P Is: specular light intensity (a vector) φ: angle between V and R L N n cos(φ): the larger is n, the smaller is the cos value cos(θ) = R.V θ θ p φ R V
21 Specular light calculation (3)! The effect of n in the phong model n = 10 n = 90 n = 30 n = 270
22 Put it all together! Illumination from a light: Illum = ambient + diffuse + specular = Ka x Ia + Kd x Id x (N.L) + Ks x Is x (R.V)! If there are N lights or n Total illumination for a point P = Σ (Illum)! Some more terms to be added (in OpenGL):! Self emission (N.H)! Global ambient! Light distance attenuation and spot light effect
23 Polygon shading model! Flat shading compute lighting once and assign the color to the whole polygon
24 Flat shading! Only use one vertex (usually the first one) normal and material property to compute the color for the polygon! Benefit: fast to compute! It is used when:! The polygon is small enough! The light source is far away (why?)! The eye is very far away (why?)
25 Mach Band Effect! Flat shading suffers from mach band effect! Mach band effect human eyes accentuate the discontinuity at the boundary perceived intensity Side view of a polygonal surface
26 Smooth shading! Fix the mach band effect remove edge discontinuity! Compute lighting for more points on each face Flat shading smooth shading
27 Smooth shading! Two popular methods:! Gouraud shading (used by OpenGL)! Phong shading (better specular highlight, not supported by OpenGL)
28 Gouraud Shading (1)! The smooth shading algorithm used in OpenGL fixed function pipeline! Lighting is calculated for each of the polygon vertices! Colors are interpolated for interior pixels
29 Gouraud Shading (2)! Pervertex lighting calculation! Normal is needed for each vertex! Pervertex normal can be computed by averaging the adjust face normals n1 n n2 n3 n4 n = (n1 + n2 + n3 + n4) / 4.0
30 Gouraud Shading (3)! Compute vertex illumination (color) before the projection transformation! Shade interior pixels: color interpolation (normals are not needed) C1 Ca = lerp(c1, C2) Cb = lerp(c1, C3) for all scanlines C2 C3 Lerp(Ca, Cb) * lerp: linear interpolation
31 Gouraud Shading (4)! Linear interpolation v1 a x b v2 x = a / (a+b) * v2 + b/(a+b) * v1! Interpolate triangle color: use y distance to interpolate the two end points in the scanline, and use x distance to interpolate interior pixel colors
32 Gouraud Shading Problem! Lighting in the polygon interior can be inaccurate
33 Gouraud Shading Problem! Lighting in the polygon interior can be inaccurate
34 Phong Shading! Instead of interpolation, we calculate lighting for each pixel inside the polygon (per pixel lighting)! We need to have normals for all the pixels not provided by the user! Phong shading algorithm interpolates the normals and compute lighting during rasterization (need to map the normal back to world or eye space though)
35 Phong Shading (2)! Normal interpolation n1 na = lerp(n1, n2) n2 lerp(na, nb) nb = lerp(n1, n3) n3! Slow not supported by OpenGL and most of the graphics hardware
36 Lighting in the Graphics Pipeline! Where is lighting performed in the graphics pipeline? v1, m1 modeling and viewing per vertex lighting projection v2, m2 v3, m3 Rasterization texturing shading viewport mapping interpolate vertex colors clipping Display
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 informationIllumination & 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 informationCS5620 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 informationCPSC 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 Pervertex attributes Vertex
More informationIllumination Models and SurfaceRendering Methods. Chapter 10
Illumination Models and SurfaceRendering Methods Chapter 10 Illumination and Surface Rendering Given scene specifications object positions, optical properties of the surface, viewer position, viewing
More informationTopic 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 informationIllumination & Shading
Illumination & Shading Goals Introduce the types of lightmaterial interactions Build a simple reflection modelthe Phong model that can be used with real time graphics hardware Why we need Illumination
More informationCEng 477 Introduction to Computer Graphics Fall
Illumination Models and SurfaceRendering 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 informationComp 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 informationShading 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 informationLighting and Shading Computer Graphics I Lecture 7. Light Sources Phong Illumination Model Normal Vectors [Angel, Ch
15462 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 informationComputer Graphics. Illumination and Shading
() Illumination and Shading Dr. Ayman Eldeib Lighting So given a 3D triangle and a 3D viewpoint, we can set the right pixels But what color should those pixels be? If we re attempting to create a realistic
More informationCSE 681 Illumination and Phong Shading
CSE 681 Illumination and Phong Shading Physics tells us What is Light? We don t see objects, we see light reflected off of objects Light is a particle and a wave The frequency of light What is Color? Our
More informationIntroduction to Computer Graphics. Farhana Bandukwala, PhD Lecture 14: Light Interacting with Surfaces
Introduction to Computer Graphics Farhana Bandukwala, PhD Lecture 14: Light Interacting with Surfaces Outline Computational tools Reflection models Polygon shading Computation tools Surface normals Vector
More informationObjectives 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 informationIllumination 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 Perspectivecorrect interpolation Texture
More informationPhotorealism: Ray Tracing
Photorealism: Ray Tracing Reading Assignment: Chapter 13 Local vs. Global Illumination Local Illumination depends on local object and light sources only Global Illumination at a point can depend on any
More informationThreeDimensional Graphics V. Guoying Zhao 1 / 55
Computer Graphics ThreeDimensional Graphics V Guoying Zhao 1 / 55 Shading Guoying Zhao 2 / 55 Objectives Learn to shade objects so their images appear threedimensional Introduce the types of lightmaterial
More informationAmbient 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 informationIllumination and Shading
Illumination and Shading Illumination and Shading z Illumination Models y Ambient y Diffuse y Attenuation y Specular Reflection z Interpolated Shading Models y Flat, Gouraud, Phong y Problems CS4451: Fall
More informationComputer Graphics 1. Chapter 7 (June 17th, 2010, 24pm): Shading and rendering. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2010
Computer Graphics 1 Chapter 7 (June 17th, 2010, 24pm): Shading and rendering 1 The 3D rendering pipeline (our version for this class) 3D models in model coordinates 3D models in world coordinates 2D Polygons
More informationCS 5625 Lec 2: Shading Models
CS 5625 Lec 2: Shading Models Kavita Bala Spring 2013 Shading Models Chapter 7 Next few weeks Textures Graphics Pipeline Light Emission To compute images What are the light sources? Light Propagation Fog/Clear?
More informationInterpolation using scanline algorithm
Interpolation using scanline algorithm Idea: Exploit knowledge about already computed color values. Traverse projected triangle topdown using scanline. Compute start and end color value of each pixel
More informationColor and Light. CSCI 4229/5229 Computer Graphics Summer 2008
Color and Light CSCI 4229/5229 Computer Graphics Summer 2008 Solar Spectrum Human Trichromatic Color Perception Are A and B the same? Color perception is relative Transmission,Absorption&Reflection Light
More informationLets assume each object has a defined colour. Hence our illumination model is looks unrealistic.
Shading Models There are two main types of rendering that we cover, polygon rendering ray tracing Polygon rendering is used to apply illumination models to polygons, whereas ray tracing applies to arbitrary
More informationLecture 10: Shading Languages. Kayvon Fatahalian CMU : Graphics and Imaging Architectures (Fall 2011)
Lecture 10: Shading Languages Kayvon Fatahalian CMU 15869: Graphics and Imaging Architectures (Fall 2011) Review: role of shading languages Renderer handles surface visibility tasks  Examples: clip,
More informationCSE 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 informationModels and Architectures. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico
Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico 1 Objectives Learn the basic design of a graphics system Introduce
More information Rasterization. Geometry. Scan Conversion. Rasterization
Computer Graphics  The graphics pipeline  Geometry Modelview Geometry Processing Lighting Perspective Clipping Scan Conversion Texturing Fragment Tests Blending Framebuffer Fragment Processing  So far,
More informationShading , Fall 2004 Nancy Pollard Mark Tomczak
15462, Fall 2004 Nancy Pollard Mark Tomczak Shading Shading Concepts Shading Equations Lambertian, Gouraud shading Phong Illumination Model Nonphotorealistic rendering [Shirly, Ch. 8] Announcements Written
More informationCMSC427 Shading Intro. Credit: slides from Dr. Zwicker
CMSC427 Shading Intro Credit: slides from Dr. Zwicker 2 Today Shading Introduction Radiometry & BRDFs Local shading models Light sources Shading strategies Shading Compute interaction of light with surfaces
More informationIllumination and Shading
Illumination and Shading Light sources emit intensity: assigns intensity to each wavelength of light Humans perceive as a colour  navy blue, light green, etc. Exeriments show that there are distinct I
More informationSEOUL NATIONAL UNIVERSITY
Fashion Technology 5. 3D Garment CAD1 Sungmin Kim SEOUL NATIONAL UNIVERSITY Overview Design Process Concept Design Scalable vector graphics Featurebased design Pattern Design 2D Parametric design 3D
More informationClassic Rendering Pipeline
CS580: Classic Rendering Pipeline SungEui Yoon ( 윤성의 ) Course URL: http://sglab.kaist.ac.kr/~sungeui/gcg/ Course Objectives Understand classic rendering pipeline Just highlevel concepts, not all the
More informationSo 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 informationCOMP environment mapping Mar. 12, r = 2n(n v) v
Rendering mirror surfaces The next texture mapping method assumes we have a mirror surface, or at least a reflectance function that contains a mirror component. Examples might be a car window or hood,
More informationLighting 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 informationCENG 477 Introduction to Computer Graphics. Ray Tracing: Shading
CENG 477 Introduction to Computer Graphics Ray Tracing: Shading Last Week Until now we learned: How to create the primary rays from the given camera and image plane parameters How to intersect these rays
More information03 RENDERING PART TWO
03 RENDERING PART TWO WHAT WE HAVE SO FAR: GEOMETRY AFTER TRANSFORMATION AND SOME BASIC CLIPPING / CULLING TEXTURES AND MAPPING MATERIAL VISUALLY DISTINGUISHES 2 OBJECTS WITH IDENTICAL GEOMETRY FOR NOW,
More informationCSE Intro to Computer Graphics. ANSWER KEY: Midterm Examination. November 18, Instructor: Sam Buss, UC San Diego
CSE 167  Intro to Computer Graphics ANSWER KEY: Midterm Examination November 18, 2003 Instructor: Sam Buss, UC San Diego Write your name or initials on every page before beginning the exam. You have 75
More informationOrthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E AddisonWesley 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 informationLighting/Shading II. Week 7, Mon Mar 1
University of British Columbia CPSC 314 Computer Graphics JanApr 2010 Tamara Munzner Lighting/Shading II Week 7, Mon Mar 1 http://www.ugrad.cs.ubc.ca/~cs314/vjan2010 News Homework 3 out today Homework
More informationLessons 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 informationTurn on the Lights: Reflectance
Turn on the Lights: Reflectance Part 2: Shading Tuesday, October 15 2012 Lecture #14 Goal of Shading Model simple light sources Point light sources Extended light sources Ambient lighting Model lighting
More informationComputer Graphics I. Assignment 3
UNIVERSITÄT DES SAARLANDES Dr.Ing. Hendrik P.A. Lensch Max Planck Institut Informatik Art Tevs (tevs@mpiinf.mpg.de) Boris Ajdin (bajdin@mpiinf.mpg.de) Matthias Hullin (hullin@mpiinf.mpg.de) 12. November
More informationgraphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1
graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1 graphics pipeline sequence of operations to generate an image using objectorder processing primitives processed oneatatime
More informationRasterization Overview
Rendering Overview The process of generating an image given a virtual camera objects light sources Various techniques rasterization (topic of this course) raytracing (topic of the course Advanced Computer
More informationCSE 690: GPGPU. Lecture 2: Understanding the Fabric  Intro to Graphics. Klaus Mueller Stony Brook University Computer Science Department
CSE 690: GPGPU Lecture 2: Understanding the Fabric  Intro to Graphics Klaus Mueller Stony Brook University Computer Science Department Klaus Mueller, Stony Brook 2005 1 Surface Graphics Objects are explicitely
More informationComputer Graphics. Lecture 10. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura 12/03/15
Computer Graphics Lecture 10 Global Illumination 1: Ray Tracing and Radiosity Taku Komura 1 Rendering techniques Can be classified as Local Illumination techniques Global Illumination techniques Local
More informationSurface Graphics. 200 polys 1,000 polys 15,000 polys. an empty foot.  a mesh of spline patches:
Surface Graphics Objects are explicitely defined by a surface or boundary representation (explicit inside vs outside) This boundary representation can be given by:  a mesh of polygons: 200 polys 1,000
More informationLIGHTING AND SHADING
DH2323 DGI15 INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION LIGHTING AND SHADING Christopher Peters HPCViz, KTH Royal Institute of Technology, Sweden chpeters@kth.se http://kth.academia.edu/christopheredwardpeters
More informationLight Sources. Spotlight model
lecture 12 Light Sources sunlight (parallel) Sunny day model : "point source at infinity"  lighting  materials: diffuse, specular, ambient spotlight  shading: Flat vs. Gouraud vs Phong light bulb ambient
More informationComputer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura
Computer Graphics Lecture 13 Global Illumination 1: Ray Tracing and Radiosity Taku Komura 1 Rendering techniques Can be classified as Local Illumination techniques Global Illumination techniques Local
More informationCS452/552; EE465/505. Lighting & Shading
CS452/552; EE465/505 Lighting & Shading 217 15 Outline! More on Lighting and Shading Read: Angel Chapter 6 Lab2: due tonight use ASDW to move a 2D shape around; 1 to center Local Illumination! Approximate
More informationCSE 167: Lecture #8: GLSL. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012
CSE 167: Introduction to Computer Graphics Lecture #8: GLSL Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012 Announcements Homework project #4 due Friday, November 2 nd Introduction:
More informationIllumination 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 informationShading/Texturing. Dr. Scott Schaefer
Shading/Texturing Dr. Scott Schaefer Problem / Problem / Problem 4/ Problem / Problem / Shading Algorithms Flat Shading Gouraud Shading Phong Shading / Flat Shading Apply same color across entire polygon
More informationIllumination. Illumination CMSC 435/634
Illumination CMSC 435/634 Illumination Interpolation Illumination Illumination Interpolation Illumination Illumination Effect of light on objects Mostly look just at intensity Apply to each color channel
More informationMethodology 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 informationWhy 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 Lightmaterial interactions cause each point to have a different
More informationIntroduction to 3D Graphics
Introduction to 3D Graphics Using OpenGL 3D 1/46 Classical Polygon Graphics (H/W) Pipeline Mesh objects with 3D polygons (triangles or quads usually) Apply material properties to each object (for reflectance
More informationThe Traditional Graphics Pipeline
Last Time? The Traditional Graphics Pipeline Reading for Today A Practical Model for Subsurface Light Transport, Jensen, Marschner, Levoy, & Hanrahan, SIGGRAPH 2001 Participating Media Measuring BRDFs
More informationRay Optics. Lecture 23. Chapter 34. Physics II. Course website:
Lecture 23 Chapter 34 Physics II Ray Optics Course website: http://faculty.uml.edu/andriy_danylov/teaching/physicsii Today we are going to discuss: Chapter 34: Section 34.13 Ray Optics Ray Optics Wave
More informationUsing Shaders for Lighting
Using Shaders for Lighting Mike Bailey mjb@cs.oregonstate.edu Lighting Definitions L N R E N = Normal L = Light vector E = Eye vector R = Light reflection vector ER = Eye reflection vector Color = LightColor
More informationOverview: Ray Tracing & The Perspective Projection Pipeline
Overview: Ray Tracing & The Perspective Projection Pipeline Lecture #2 Thursday, August 28 2014 About this Lecture! This is an overview.! Think of it as a quick tour moving fast.! Some parts, e.g. math,
More informationØ Sampling Theory" Ø Fourier Analysis Ø Antialiasing Ø Supersampling Strategies" Ø The Hall illumination model. Ø Original ray tracing paper
CS 431/636 Advanced Rendering Techniques Ø Dr. David Breen Ø Korman 105D Ø Wednesday 6PM 8:50PM Presentation 6 5/16/12 Questions from ast Time? Ø Sampling Theory" Ø Fourier Analysis Ø Antialiasing Ø Supersampling
More informationCG Surfaces: Materials, Shading, and Texturing
CG Surfaces: Materials, Shading, and Texturing ART/CSC/FST 220 Spring 2007 From text: 3D for Beginners, Chapter 7 Art of Maya (pages 116126, 185194) Shading and texturing involves materials and their
More informationPhotorealistic 3D Rendering for VW in Mobile Devices
Abstract University of Arkansas CSCE Department Advanced Virtual Worlds Spring 2013 Photorealistic 3D Rendering for VW in Mobile Devices Rafael Aroxa In the past few years, the demand for high performance
More informationCMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker
CMSC427 Advanced shading getting global illumination by local methods Credit: slides Prof. Zwicker Topics Shadows Environment maps Reflection mapping Irradiance environment maps Ambient occlusion Reflection
More informationBasic Computer Graphics. Kadi Bouatouch IRISA
Basic Computer Graphics Kadi Bouatouch IRISA Email: kadi@irisa.fr 1 Summary 1. Introduction 2. Coordinate systems 3. Geometric transformations 4. Geometric transformations for display 5. Choosing the camera
More informationLecture 4: Reflection Models
Lecture 4: Reflection Models CS 660, Spring 009 Kavita Bala Computer Science Cornell University Outline Light sources Light source characteristics Types of sources Light reflection Physicsbased models
More informationAnnouncements. Written Assignment 2 out (due March 8) Computer Graphics
Announcements Written Assignment 2 out (due March 8) 1 Advanced Ray Tracing (Recursive) Ray Tracing Antialiasing Motion Blur Distribution Ray Tracing Ray Tracing and Radiosity Assumptions Simple shading
More informationCS GAME PROGRAMMING Question bank
CS6006  GAME PROGRAMMING Question bank Part A Unit I 1. List the different types of coordinate systems. 2. What is ray tracing? Mention some applications of ray tracing. 3. Discuss the stages involved
More information6.837 Introduction to Computer Graphics Assignment 5: OpenGL and Solid Textures Due Wednesday October 22, 2003 at 11:59pm
6.837 Introduction to Computer Graphics Assignment 5: OpenGL and Solid Textures Due Wednesday October 22, 2003 at 11:59pm In this assignment, you will add an interactive preview of the scene and solid
More informationShadow Algorithms. CSE 781 Winter HanWei Shen
Shadow Algorithms CSE 781 Winter 2010 HanWei Shen Why Shadows? Makes 3D Graphics more believable Provides additional cues for the shapes and relative positions of objects in 3D What is shadow? Shadow:
More informationGraphics Hardware and OpenGL
Graphics Hardware and OpenGL Ubi Soft, Prince of Persia: The Sands of Time What does graphics hardware have to do fast? Camera Views Different views of an object in the world 1 Camera Views Lines from
More informationShading Languages. Seminar Computer Graphics. Markus Kummerer
Shading Languages Markus Kummerer ABSTRACT Shading Languages provide a highly flexible approach for creating visual structures in computer imagery. The RenderMan Interface provides an API for scene description,
More information6.837 Introduction to Computer Graphics Assignment 5: OpenGL and Solid Textures Due Wednesday October 22, 2003 at 11:59pm
6.837 Introduction to Computer Graphics Assignment 5: OpenGL and Solid Textures Due Wednesday October 22, 2003 at 11:59pm In this assignment, you will add an interactive preview of the scene and solid
More informationVolume Shadows Tutorial Nuclear / the Lab
Volume Shadows Tutorial Nuclear / the Lab Introduction As you probably know the most popular rendering technique, when speed is more important than quality (i.e. realtime rendering), is polygon rasterization.
More informationSummary. What is Computer Graphics? IRISA 2. Coordinate systems. 4. Geometric transformations for display
Summary Basic Computer Graphics Kadi Bouatouch IRISA Email: kadi@irisa.fr 1. Introduction 2. Coordinate systems 3. Geometric transformations 4. Geometric transformations for display 5. Choosing the camera
More informationShading. Flat shading Gouraud shading Phong shading
Shading Flat shading Gouraud shading Phong shading Flat Shading and Perception Lateral inhibition: exaggerates perceived intensity Mach bands: perceived stripes along edges Icosahedron with Sphere Normals
More informationA MATLAB PHYSICAL OPTICS RCS PREDICTION CODE
A MATLAB PHYSICAL OPTICS RCS PREDICTION CODE Elmo E. Garrido, Jr. and David C. Jenn Naval Postgraduate School Monterey, CA 93943 SUMMARY POFACETS is an implementation of the physical optics approximation
More informationChapter 3. Illumination Models and SurfaceRendering Methods. Department of Computer Science and Engineering
Chapter 3 Illumination Models and SurfaceRendering Methods 31 3.1 Overview For a realistic display of a scene the lighting effects should appear naturally. An illumination model, also called a lighting
More informationLecture 17: Recursive Ray Tracing. Where is the way where light dwelleth? Job 38:19
Lecture 17: Recursive Ray Tracing Where is the way where light dwelleth? Job 38:19 1. Raster Graphics Typical graphics terminals today are raster displays. A raster display renders a picture scan line
More informationWednesday, 26 January 2005, 14:OO  17:OO h.
Delft University of Technology Faculty Electrical Engineering, Mathematics, and Computer Science Mekelweg 4, Delft TU Delft Examination for Course IN41 5 13D Computer Graphics and Virtual Reality Please
More informationComputer graphics (cs602) Final term mcqs fall 2013 Libriansmine
Computer graphics (cs602) Final term mcqs fall 2013 Libriansmine Question # 1 Total Marks: 1 Consider the following problem from lighting: A point (P1) is at (0, 0, 0) with normal equal to 1/(2*sqrt(2))*(sqrt(2),
More informationShading, lighting, & BRDF Theory. Cliff Lindsay, PHD
Shading, lighting, & BRDF Theory Cliff Lindsay, PHD Overview of today s lecture BRDF Characteristics Lights in terms of BRDFs Classes of BRDFs Ambient light & Shadows in terms of BRDFs Decomposing Reflection
More information3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts  Coordinate Systems. 3D Concepts Displaying 3D Models
3D Programming Concepts Outline 3D Concepts Displaying 3D Models 3D Programming CS 4390 3D Computer 1 2 3D Concepts 3D Model is a 3D simulation of an object. Coordinate Systems 3D Models 3D Shapes 3D Concepts
More informationSoftware Engineering. ò Look up Design Patterns. ò Code Refactoring. ò Code Documentation? ò One of the lessons to learn for good design:
Software Engineering ò Look up Design Patterns ò Code Refactoring ò Code Documentation? ò One of the lessons to learn for good design: ò Coupling: the amount of interconnectedness between classes ò Cohesion:
More informationLights, Colour and Materials In OpenGL
Illumination Models Lights, Colour and Materials In OpenGL Illumination models are used to generate the colour of an object s surface at a given point on that surface. The factors that govern the illumination
More informationLecture 2. Shaders, GLSL and GPGPU
Lecture 2 Shaders, GLSL and GPGPU Is it interesting to do GPU computing with graphics APIs today? Lecture overview Why care about shaders for computing? Shaders for graphics GLSL Computing with shaders
More informationLights and Lighting. Lecture overview. Light 2/3/2013. Digital Lighting and Rendering CGT 340
Lights and Lighting Digital Lighting and Rendering CGT 340 Lighting is 5% of light setup and 95% of revisions and adjustments. Jeremy Birn Lecture overview What is light? Spectrum Typical cases Metamers
More informationShaders (some slides taken from David M. course)
Shaders (some slides taken from David M. course) Doron Nussbaum Doron Nussbaum COMP 3501  Shaders 1 Traditional Rendering Pipeline Traditional pipeline (older graphics cards) restricts developer to texture
More information2/1/10. Outline. The Radiance Equation. Light: Flux Equilibrium. Light: Radiant Power. Light: Equation. Radiance. Jan Kautz
Outline Jan Kautz Basic terms in radiometry Radiance Reflectance The operator form of the radiance equation Meaning of the operator form Approximations to the radiance equation 2005 Mel Slater, 2006 Céline
More informationVisualization Toolkit(VTK) Atul Kumar MD MMST PhD IRCADTaiwan
Visualization Toolkit(VTK) Atul Kumar MD MMST PhD IRCADTaiwan Visualization What is visualization?: Informally, it is the transformation of data or information into pictures.(scientific, Data, Information)
More informationMathematical Tools in Computer Graphics with C# Implementations Table of Contents
Mathematical Tools in Computer Graphics with C# Implementations by Hardy Alexandre, WilliHans Steeb, World Scientific Publishing Company, Incorporated, 2008 Table of Contents List of Figures Notation
More informationSurface Reflection Models
Surface Reflection Models Frank Losasso (flosasso@nvidia.com) Introduction One of the fundamental topics in lighting is how the light interacts with the environment. The academic community has researched
More informationLighting affects appearance
Lighting affects appearance 1 Source emits photons Light And then some reach the eye/camera. Photons travel in a straight line When they hit an object they: bounce off in a new direction or are absorbed
More information5.2 Shading in OpenGL
Fall 2017 CSCI 420: Computer Graphics 5.2 Shading in OpenGL Hao Li http://cs420.haoli.com 1 Outline Normal Vectors in OpenGL Polygonal Shading Light Sources in OpenGL Material Properties in OpenGL Example:
More informationCSE 167: Introduction to Computer Graphics Lecture #8: Textures. Jürgen P. Schulze, Ph.D. University of California, San Diego Spring Quarter 2016
CSE 167: Introduction to Computer Graphics Lecture #8: Textures Jürgen P. Schulze, Ph.D. University of California, San Diego Spring Quarter 2016 Announcements Project 2 due this Friday Midterm next Tuesday
More information