Slides:



Advertisements
Similar presentations
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Advertisements

Lecture 14 Illumination II – Global Models
Computer Graphics In4/MSc Computer Graphics Lecture Notes #15 Illumination III View Independent Rendering.
3D Graphics Rendering and Terrain Modeling
Advanced Effects CMSC 435/634. General Approach Ray Tracing – Shoot more rays Rasterization – Render more images.
CLASS 9 ADVANCE RENDERING RAY TRACING RADIOSITY LIGHT FIELD CS770/870.
Part I: Basics of Computer Graphics
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
David Luebke1/19/99 CS 551/651: Advanced Computer Graphics David Luebke
Light Issues in Computer Graphics Presented by Saleema Amershi.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
CS 325 Introduction to Computer Graphics 04 / 09 / 2010 Instructor: Michael Eckmann.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Photon Tracing with Arbitrary Materials Patrick Yau.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
RAY TRACING.
CSCE 641: Computer Graphics Ray Tracing Jinxiang Chai.
Admission to CS 184 Enrollment priorities are 1. CS/EECS majors, 2. CS/EECS minors (this category includes applied math majors) 3. anyone else with a declared.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 10: Global Illumination Ravi Ramamoorthi Some images courtesy.
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
Paper by Alexander Keller
CSCE 641: Computer Graphics Ray Tracing Jinxiang Chai.
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
Global Illumination. Direct Illumination vs. Global Illumination reflected, scattered and focused light (not discreet). physical-based light transport.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
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.
-Global Illumination Techniques
Project Raytracing. Content Goals Idea of Raytracing Ray Casting – Therory – Practice Raytracing – Theory – Light model – Practice Output images Conclusion.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
Ray Tracing Jian Huang, CS 594, Fall, 2002 This set of slides are used at Ohio State by Prof. Roger Crawfis.
1 Dr. Scott Schaefer Ray Tracing. 2/42 Ray Tracing Provides rendering method with  Refraction/Transparent surfaces  Reflective surfaces  Shadows.
Week 10 - Wednesday.  What did we talk about last time?  Shadow volumes and shadow mapping  Ambient occlusion.
Computer graphics & visualization Photon Mapping.
Computer Graphics Global Illumination: Photon Mapping, Participating Media Lecture 12 Taku Komura.
Intro. to Advanced Lighting, Basic Ray Tracing Glenn G. Chappell U. of Alaska Fairbanks CS 481/681 Lecture Notes Monday, April.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Monte-Carlo Ray Tracing and
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
CSCE 441: Computer Graphics Ray Tracing
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Global Illumination (3) Photon Mapping (1). Overview Light Transport Notation Path Tracing Photon Mapping –Photon Tracing –The Photon Map.
RENDERING : Global Illumination
CSE 681 Introduction to Ray Tracing. CSE 681 Ray Tracing Shoot a ray through each pixel; Find first object intersected by ray. Image plane Eye Compute.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
CSL 859: Advanced Computer Graphics Dept of Computer Sc. & Engg. IIT Delhi.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
CS 376 Introduction to Computer Graphics 04 / 13 / 2007 Instructor: Michael Eckmann.
11/29/01CS 559, Fall 2001 Today Photorealistic rendering Algorithms for producing high-quality images Ways of deciding which algorithm for use.
CS 376 Introduction to Computer Graphics 04 / 18 / 2007 Instructor: Michael Eckmann.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
CS552: Computer Graphics Lecture 36: Ray Tracing.
Visualization of Scanned Cave Data with Global Illumination

Global Illumination: Radiosity, Photon Mapping & Path Tracing
Ray Tracing Dr. Scott Schaefer.
3D Graphics Rendering PPT By Ricardo Veguilla.
RAY TRACING.
(c) 2002 University of Wisconsin
CS5500 Computer Graphics May 29, 2006
CSCE 441: Computer Graphics Ray Tracing
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Frame Buffer Applications
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Introduction to Ray Tracing
Presentation transcript:

COMPUTER GRAPHICS NOVEMBER 3, 2015 CS 482 – FALL 2015 ADVANCED RENDERING RAY TRACING PHOTON MAPPING

NOVEMBER 3, 2015: ADVANCED RENDERING RAY TRACING OVERVIEW Ray tracing is a brute force method for resolving the hidden surface problem (as well as many others). In ray tracing, a virtual screen and a virtual viewpoint are defined in the same coordinate system as the objects to be rendered. A ray is projected from the viewpoint through every pixel in the screen, and on into the object space. This ray is tested for intersection against every object in the scene. If no object is hit, the background is rendered; otherwise, the closest object to the viewport is rendered. CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 216

NOVEMBER 3, 2015: ADVANCED RENDERING RAY TRACING SHADOWS If an object is hit, a second ray is projected from the intersection point towards the simulated light source. If this second ray hits another object, then the original intersection point is in shadow. CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 217

RAY TRACING ASSET MANAGEMENT Pixar’s Cars used expansive sets with lots of tiny, detailed geometry, which would have caused resolution problems if shadow maps had been used. Asset management would also be a problem when there are nearly 1000 light sources, as in this scene. Using ray traced shadows eliminated both problems. CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 218

NOVEMBER 3, 2015: ADVANCED RENDERING RAY TRACING REFLECTION If the intersected object is reflective, a second ray is projected from the intersection point at the angle of reflection. If that second ray also intersects an object, then the original intersection point should “reflect” the object at the second intersection. CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 219

NOVEMBER 3, 2015: ADVANCED RENDERING RAY TRACING REFLECTION EXAMPLES CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 220

NOVEMBER 3, 2015: ADVANCED RENDERING RAY TRACING MULTIPLE REFLECTION If the secondary ray also hits a reflective object, then the original intersection is also affected, and so on... CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 221

PHOTON MAPPING RUSSIAN ROULETTE Ray tracing computes only light based on direct illumination, ignoring the fact that light bounces around objects and surfaces before landing. Photon mapping addresses this problem by first casting rays from the light source into the scene, with each collision with an object in the scene determined to be a reflection, a refraction, or an absorption of the light. Because only a sample of rays are cast from the light source, each ray is given a probability of producing a reflection, a refraction, or an absorption, with the odds weighted heavily towards the appropriate response for the object being hit. Non-specular, Non-Translucent objects will mainly produce absorptions. Specular objects will mainly produce reflections. Translucent objects will mainly produce refractions. CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 222

PHOTON MAPPING COLOR BLEEDING Direct Illumination ONLY When light bounces around a scene, diffuse interreflections accumulate color at every step, causing colors to “bleed” onto their surroundings. Photon mapping allows a photon to make any number of specular bounces, but at the first diffuse bounce, it is stored in the photon map and another photon is generated. This allows the reflected color to be transferred to the next diffuse surface. Direct Illumination ONLY WITH Photon Mapping CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 223

NOVEMBER 3, 2015: ADVANCED RENDERING PHOTON MAPPING REFRACTED CAUSTICS A vortex perturbing the water surface causes extra photons to congregate at some underwater locations, and few photons to congregate at other locations. CS 482 – FALL 2015 NOVEMBER 3, 2015: ADVANCED RENDERING PAGE 224