CSC418 Computer Graphics Raytracing Shadows Global Illumination.

Slides:



Advertisements
Similar presentations
Illumination Lighting and Shading CSE 470/598 Introduction to Computer Graphics Arizona State University Dianne Hansford.
Advertisements

Lecture 14 Illumination II – Global Models
Computer Graphics In4/MSc Computer Graphics Lecture Notes #15 Illumination III View Independent Rendering.
Graphics Graphics Korea University cgvr.korea.ac.kr Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
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.
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.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Shading I Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
CSC418 Computer Graphics n Raytracing n Shadows n Global 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
Today More raytracing stuff –Soft shadows and anti-aliasing More rendering methods –The text book is good on this –I’ll be using images from the CDROM.
12/05/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling Very brief intro to global illumination.
Ray Tracing Sang Il Park SEjong University With lots of slides stolen from Jehee Lee, Doug James, Steve Seitz, Shree Nayar, Alexei Efros, Fredo Durand.
CSC418 Computer Graphics n Illumination n Lights n Lightinging models.
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
1. Ray Casting Surface intersection Visible surface detection Ray Tracing Bounce the ray Collecting intensity Technique for global reflection and transmission.
OpenGL Shading. 2 Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material interactions Build.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
David Luebke3/12/2016 Advanced Computer Graphics Lecture 3: More Ray Tracing David Luebke
Distributed Ray Tracing. Can you get this with ray tracing?
CSL 859: Advanced Computer Graphics Dept of Computer Sc. & Engg. IIT Delhi.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
3D Rendering Techniques Light Source: Shading is also dependent on the lighting used. Usually, upon rendering a scene a number of different lighting techniques.
11/29/01CS 559, Fall 2001 Today Photorealistic rendering Algorithms for producing high-quality images Ways of deciding which algorithm for use.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Computer Graphics: Illumination
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
7. Illumination Phong Illumination Diffuse, Specular and Ambient
Shading CS 465 Lecture 4 © 2004 Steve Marschner • 1.

Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it The image should look like a photograph A.
Global Illumination: Radiosity, Photon Mapping & Path Tracing
3D Graphics Rendering PPT By Ricardo Veguilla.
Unit-7 Lighting and Shading
RAY TRACING.
© University of Wisconsin, CS559 Fall 2004
Real-Time Volume Graphics [06] Local Volume Illumination
Ray Tracer Project CSE 557.
(c) 2002 University of Wisconsin
Path Tracing (some material from University of Wisconsin)
Lighting.
Distributed Ray Tracing
(c) 2002 University of Wisconsin
Fundamentals of Computer Graphics Part 6 Shading
Isaac Gang University of Mary Hardin-Baylor
Image synthesis using classical optics
Image.
Mirror Reflections and Images
CS5500 Computer Graphics May 29, 2006
Illumination and Shading
Ray Tracer Project CSE 557.
Ray Tracing Sung-Eui Yoon (윤성의) CS580: Course URL:
Computer Graphics Material Colours and Lighting
Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
CS 480/680 Computer Graphics Shading.
Introduction to Ray Tracing
Presentation transcript:

CSC418 Computer Graphics Raytracing Shadows Global Illumination

Local vs. Global Illumination Local Illumination Models e.g. Phong Model source from a light reflected once off a surface towards the eye Indirect light is included with an ad hoc “ambient” term which is normally constant across the scene Global Illumination Models e.g. ray tracing or radiosity (both are incomplete) Try to measure light propagation in the scene Model interaction between objects and other objects and objects and their environment

All surfaces are not created equal Specular surfaces e.g. mirrors, glass balls An idealized model provides ‘perfect’ reflection Incident ray is reflected back as a ray in a single direction No scattering (unrealistic) Diffuse surfaces e.g. flat paint, chalk Lambertian surfaces Incident light is scattered in all directions Also unrealistic for most surfaces

Categories of light transport Specular-Specular Specular-Diffuse Diffuse-Diffuse Diffuse-Specular

Ray Tracing Traces path of specularly reflected or transmitted (refracted) rays through environment Rays are infinitely thin Don’t disperse Signature: shiny objects exhibiting sharp, multiple reflections Transport E - S – S – S – D – L.

Ray Tracing Unifies in one framework Hidden surface removal Shadow computation Reflection of light Refraction of light Global specular interaction

Raytracing slides borrowed from…

Ray tracing setup

Ray does not intersect objects

Ray hits object

Shadow test

Point in shadow With a simple lighting model, apply the ambient term for the shadow region

Reflected ray is sent out from intersection point

Reflected ray has hit object Local illumination model calculated where ray intersects with second object Result carried back to origin of ray on first object, contributes to object’s colour

Transmitted ray generated for transparent objects

Transmitted ray hit object Local illumination model calculated where the ray hit object Result carried back to the point of first intersection

No reflection

Single reflection

Double reflection

Ray Tracing Deficiencies Local specular illumination model spreads rays in specular reflection, but global model doesn’t Ignores major light transport mechanisms Interaction of diffuse surfaces Intersection computation time is very long

Ray Tracing Efficiency Improvements Bounding volumes Spatial subdivision Octrees SEADS BSP

Ray Tracing Improvements: Image Quality Backwards ray tracing Trace from the light to the surfaces and then from the eye to the surfaces “shower” scene with light and then collect it “Where does light go?” vs “Where does light come from?” Good for caustics Transport E – S – S – S - D – S – S – S - L

Ray Tracing Improvements: Image Quality Cone tracing Models some dispersion effects Distributed Ray Tracing Super sample each ray Blurred reflections, refractions Soft shadows Depth of field Motion blur

Radiosity Diffuse interaction within a closed environment Theoretically sound View independent No specular interactions Transport E – D – D – D - L

Direct light is only part of the story

Ambient light

Lambertian Reflection and Colour Bleeding