Distributed Ray Tracing

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
Computer graphics & visualization Global Illumination Effects.
Week 5 - Friday.  What did we talk about last time?  Quaternions  Vertex blending  Morphing  Projections.
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
RADIOSITY Submitted by CASULA, BABUPRIYANK. N. Computer Graphics Computer Graphics Application Image Synthesis Animation Hardware & Architecture.
Radiometry. Outline What is Radiometry? Quantities Radiant energy, flux density Irradiance, Radiance Spherical coordinates, foreshortening Modeling surface.
Physically Based Illumination Models
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Photon Tracing with Arbitrary Materials Patrick Yau.
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.
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
1 Dr. Scott Schaefer Radiosity. 2/38 Radiosity 3/38 Radiosity Physically based model for light interaction View independent lighting Accounts for indirect.
Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Global Illumination Jian Huang, CS 594, Fall 2002 This set of slides reference text book and the course note of Dutre et. al on SIGGRAPH 2001.
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
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Distribution Ray Tracing.
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.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
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.
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) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
Distributed Ray Tracing. Can you get this with ray tracing?
Distributed Ray Tracing. Can you get this with ray tracing?
CS552: Computer Graphics Lecture 33: Illumination and Shading.
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
CS580: Radiometry Sung-Eui Yoon ( 윤성의 ) Course URL:
Basic Ray Tracing CMSC 435/634.
3D Rendering 2016, Fall.
CS262 – Computer Vision Lect 4 - Image Formation
Photorealistic Rendering vs. Interactive 3D Graphics
Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it The image should look like a photograph A.
Reconstruction For Rendering distribution Effect
Distributed Ray Tracing
© 2002 University of Wisconsin
© University of Wisconsin, CS559 Fall 2004
The Rendering Equation
Range Profile Synthesis
(c) 2002 University of Wisconsin
Distribution Ray Tracing
Path Tracing (some material from University of Wisconsin)
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics with WebGL
Lighting.
Radiosity Dr. Scott Schaefer.
Chapter XVI Texturing toward Global Illumination
Distributed Ray Tracing
Distributed Ray Tracing
(c) 2002 University of Wisconsin
Fundamentals of Computer Graphics Part 6 Shading
Progressive Photon Mapping Toshiya Hachisuka Henrik Wann Jensen
Monte Carlo Rendering Central theme is sampling:
CS5500 Computer Graphics May 29, 2006
The Rendering Equation
Advanced Computer Graphics
Distributed Ray Tracing
GR2 Advanced Computer Graphics AGR
Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Introduction to Ray Tracing
Distributed Ray Tracing
CSC418 Computer Graphics Raytracing Shadows Global Illumination.
Monte Carlo Path Tracing and Caching Illumination
Presentation transcript:

Distributed Ray Tracing

HW2 Material: M r g b Ka Kd Ks exp Reflect (r, g, b) is the surface color; Ka, Kd, Ks are the coefficients of the ambient, diffuse, and specular components; exp is the specularity; Reflect is the ratio of reflection of refraction. Applies to all subsequent objects until the next material setting appears.

Assignment 2 Hints Convert eye position, view direction, and field of view into screen corner positions: Then divide the screen into w*h pixels. The viewing distance doesn’t matter.

Can you get this with ray tracing?

Ray Tracing Revisited The reflected intensity (or color) at a surface point is computed by: Local reflection model (no interaction with other objects): ambient, diffuse, and specular. Global model: perfect reflection and refraction. What if we spawn many reflected rays?

Rendering Equation g() is the “visibility” function () is related to BRDF: From Watt’s p.277

How to Solve It? We must have: (): model of the light emitted (): BRDF for each surface g(): method to evaluate visibility Integral evaluation Monte Carlo Recursive equation  Ray Tracing The problem is view independent

Global Illumination Algorithms Radiosity (topic of the next lecture). Distributed Ray Tracing. Photon Mapping Monte Carlo Path Tracing

Distributed Ray Tracing Distribute a group of rays at a hit point to sample the “reflection lobe” (similar to a 2D slice of BRDF). May also distribute rays along camera aperture, time, and pixel region to produce effects of depth of fields, motion blur, and anti-aliasing.

Why Distributed Ray Tracing? Anti-Aliasing Features Gloss (fuzzy reflections) Fuzzy translucency Penumbras (soft shadows) Depth of field Motion blur

Anti-Aliasing Supersampling Jittering – Stochastic Method 6 10 2 13 3 14 12 8 15 7 11 5 9 4 1 eye

Gloss normal normal R R I I surface surface

Fuzzy Reflection 64 rays, 956 seconds 4 rays, 37 seconds

Translucent normal normal I I surface surface T T

4 rays 16 rays

Penumbra (Soft Shadow) eye eye surface surface Hard Shadow Soft Shadow

Soft shadow - cube Without penumbra With penumbra

A Quick Review of Optics Assuming Object is at distance S1 The light from the object converges at distance S2 Focal length is f (Note that the focus distance is S1) Source: http://commons.wikimedia.org/wiki/File:Lens3.svg

How to compute S2 from S1 and f? Facts: Horizontal rays toward the lens converge at distance f Object : image = S1 : S2 = (S1-f) : f Thus, S2 = S1 * f / (S1-f)

Depth of Field

Depth of Field

Depth of Field -- Summary Step 1: Determine the size of the lens. Step 2: Place the image plane at the focal distance. (Remember that we can place the image plane at any distance?) Now, the rays from A/B/C in the previous slide see the same point only if the object is at the focal distance! But…How do we determine the size of the lens?

Depth of Field F-Stop = 5.8 F-Stop = 2.8

Depth of Field Focal Distance = 13 Focal Distance = 11

Exercise Camera focal length is 15 mm (equivalent to 33 mm in 35mm SLR cameras). CMOS sensor: 4/3 inch format Aperture: f/2.2 (i.e. 15 mm/2.2) Distance: front paper at 20cm, back paper (in focus) at 60 cm

Motion Blur Sampling in time Each element in the cell stands for a time slice Jitter time slice to the current time Move object via the current time slice 6 10 2 13 3 14 12 8 15 7 11 5 9 4 1 Current time = Time Slice + Jitter Time e.g. time slice at left-upper = 6 + rand()

Motion Blur

Typical Distributed Ray Path

What Is Light Intensity? The power of light source E.g., wattage of a light bulb. Flux (Φ) measured in watts (W) or joules/second Does it change with distance? Another radiometric quantity needed here. Next slide: Irradiance (E)

Radiance and Irradiance Irradiance E Area density of flux. Measured in W/m2 E = Φ / 4πr2 Radiance L Light energy density Measured in W/(sr-m2) Remains constant along rays From Watt’s p.278

Further Reading See Pharr’s 5.2 (1st Ed.) or 5.4.1 (2nd Ed.) for more detail. Also discussed in “Computer Graphics: Principles and Practice” Section 26.7 (2nd Ed. By Hughes & van Dam et al.)

Sanity Check Q1: What do you mean when you say light A is “brighter” than light B? Or the same light at rooms of different size? Radiance or irradiance Q2: Does object A look brighter at a closer distance? Radiance or irradiance? Answer to Q1: Light power strength is flux. The light in a larger room feels dimmer because the irradiance is weaker. However, when we compute the reflectance from a surface in the room, we are computing the radiance, even though the irradiance on the surface depends on the light power and the distance. (This leads to the answer to Q2.) In short, irradiance is about the amount of the energy, but not necessarily what we perceived.

More Sanity Checks Same object forms images at two cameras, one at 1M distance, one at 2M. How much flux hit a pixel at each camera? Does the pixel capture flux, irradiance, or radiance?