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.
Advanced Effects CMSC 435/634. General Approach Ray Tracing – Shoot more rays Rasterization – Render more images.
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
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.
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.
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
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.
-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.
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.
CS-378: Game Technology Lecture #4: Texture and Other Maps Prof. Okan Arikan University of Texas, Austin V Lecture #4: Texture and Other Maps.

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.
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.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
11/29/01CS 559, Fall 2001 Today Photorealistic rendering Algorithms for producing high-quality images Ways of deciding which algorithm for use.
CS552: Computer Graphics Lecture 36: Ray Tracing.
Advanced Computer Graphics
Visualization of Scanned Cave Data with Global Illumination
Photorealistic Rendering vs. Interactive 3D Graphics
Global Illumination: Radiosity, Photon Mapping & Path Tracing
Ray Tracing Dr. Scott Schaefer.
3D Graphics Rendering PPT By Ricardo Veguilla.
ATCM 6317 Procedural Animation
RAY TRACING.
© University of Wisconsin, CS559 Fall 2004
(c) 2002 University of Wisconsin
Lighting.
Visibility Computations
Caustics Ray Tracing CSS522
(c) 2002 University of Wisconsin
RAY TRACING WITH DISPERSION
Image synthesis using classical optics
Image.
CS5500 Computer Graphics May 29, 2006
CS-378: Game Technology Lecture #4: Texture and Other Maps
Foundations of Computer Graphics (Spring 2012)
CSCE 441: Computer Graphics Ray Tracing
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Introduction to Ray Tracing
CSC418 Computer Graphics Raytracing Shadows Global Illumination.
Photon Density Estimation using Multiple Importance Sampling
Presentation transcript:

COMPUTER GRAPHICS CHAPTER 32 CS 482 – Fall 2017 ADVANCED RENDERING RAY TRACING PHOTON MAPPING

CHAPTER 32: 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 2017 CHAPTER 32: ADVANCED RENDERING PAGE 245

CHAPTER 32: 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 2017 CHAPTER 32: ADVANCED RENDERING PAGE 246

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 2017 CHAPTER 32: ADVANCED RENDERING PAGE 247

CHAPTER 32: 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 2017 CHAPTER 32: ADVANCED RENDERING PAGE 248

CHAPTER 32: ADVANCED RENDERING RAY TRACING REFLECTION EXAMPLES CS 482 – Fall 2017 CHAPTER 32: ADVANCED RENDERING PAGE 249

CHAPTER 32: 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 2017 CHAPTER 32: ADVANCED RENDERING PAGE 250

RAY TRACING MULTIPLE REFLECTION How deep is the multiple reflection in this ray traced image? Some rays are reflected 16 times in this image! CS 482 – Fall 2017 CHAPTER 32: ADVANCED RENDERING PAGE 251

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 2017 CHAPTER 32: ADVANCED RENDERING PAGE 252

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 2017 CHAPTER 32: ADVANCED RENDERING PAGE 253

CHAPTER 32: 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 2017 CHAPTER 32: ADVANCED RENDERING PAGE 254

PHOTON MAPPING COLOR BLEEDING AND REFRACTED CAUSTICS The color bleeding underneath the leaf is generated by means of photons mapped from the light source and traveling through the thin leaf surface to carry the orange-yellow color to the surface beneath the leaf. The caustic refracted light on the leaf beneath the glass orb is generated by means of photons mapped from the light source and refracted through the orb. CS 482 – Fall 2017 CHAPTER 32: ADVANCED RENDERING PAGE 255