distribution ray tracing

Similar documents
distribution ray-tracing

Distributed Ray Tracing

Distribution Ray-Tracing. Programação 3D Simulação e Jogos

Specular reflection. Lighting II. Snell s Law. Refraction at boundary of media

Anti-aliasing and Monte Carlo Path Tracing. Brian Curless CSE 457 Autumn 2017

EECS 487: Interactive Computer Graphics

Anti-aliasing and Monte Carlo Path Tracing. Brian Curless CSE 557 Autumn 2017

Anti-aliasing and Monte Carlo Path Tracing

Computer Graphics. Si Lu. Fall uter_graphics.htm 11/22/2017

Announcements. Written Assignment 2 out (due March 8) Computer Graphics

Distributed Ray Tracing

Visual cues to 3D geometry. Light Reflection and Advanced Shading. Shading. Recognizing materials. size (perspective) occlusion shading

Ray Tracing. Cornell CS4620/5620 Fall 2012 Lecture Kavita Bala 1 (with previous instructors James/Marschner)

Distribution Ray Tracing

I have a meeting with Peter Lee and Bob Cosgrove on Wednesday to discuss the future of the cluster. Computer Graphics

Computer Graphics Project

Ray tracing. EECS 487 March 19,

Physically Realistic Ray Tracing

Distribution Ray Tracing. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Other Rendering Techniques CSE 872 Fall Intro You have seen Scanline converter (+z-buffer) Painter s algorithm Radiosity CSE 872 Fall

Ray Tracing. CS334 Fall Daniel G. Aliaga Department of Computer Science Purdue University

Sung-Eui Yoon ( 윤성의 )

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Ground Truth. Welcome!

Reading. 8. Distribution Ray Tracing. Required: Watt, sections 10.6,14.8. Further reading:

Ray Tracing Part 2. CSC418/2504 Introduction to Computer Graphics. TA: Muhammed Anwar

Reading. Distribution Ray Tracing. BRDF, revisited. Pixel anti-aliasing. ω in. Required: Shirley, section Further reading:

Shadows. COMP 575/770 Spring 2013

Raytracing & Epsilon. Today. Last Time? Forward Ray Tracing. Does Ray Tracing Simulate Physics? Local Illumination

A Brief Overview of. Global Illumination. Thomas Larsson, Afshin Ameri Mälardalen University

CptS 548 (Advanced Computer Graphics) Unit 3: Distribution Ray Tracing

Global Illumination The Game of Light Transport. Jian Huang

Today. Anti-aliasing Surface Parametrization Soft Shadows Global Illumination. Exercise 2. Path Tracing Radiosity

MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1

3D Rendering and Ray Casting

Recursive Ray Tracing. Ron Goldman Department of Computer Science Rice University

Depth of Field for Photorealistic Ray Traced Images JESSICA HO AND DUNCAN MACMICHAEL MARCH 7, 2016 CSS552: TOPICS IN RENDERING

Chapter 11 Global Illumination. Part 1 Ray Tracing. Reading: Angel s Interactive Computer Graphics (6 th ed.) Sections 11.1, 11.2, 11.

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

Rendering: Reality. Eye acts as pinhole camera. Photons from light hit objects

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

Monte-Carlo Ray Tracing. Antialiasing & integration. Global illumination. Why integration? Domains of integration. What else can we integrate?

3D Rendering and Ray Casting

Ray Tracing Part 1. CSC418/2504 Introduction to Computer Graphics. TA: Muhammed Anwar & Kevin Gibson

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

COMP371 COMPUTER GRAPHICS

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity

Recursion and Data Structures in Computer Graphics. Ray Tracing

CS 563 Advanced Topics in Computer Graphics Camera Models. by Kevin Kardian

The 2 nd part of the photographic triangle

Corona Sky Corona Sun Corona Light Create Camera About

Ray Tracing III. Wen-Chieh (Steve) Lin National Chiao-Tung University

Local vs. Global Illumination & Radiosity

Ray Tracing. CSCI 420 Computer Graphics Lecture 15. Ray Casting Shadow Rays Reflection and Transmission [Ch ]

Global Illumination and Monte Carlo

Ray tracing. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd 3/19/07 1

The Rendering Equation and Path Tracing

Programming projects. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer

Ray-tracing Acceleration. Acceleration Data Structures for Ray Tracing. Shadows. Shadows & Light Sources. Antialiasing Supersampling.

Lecture 11. More Ray Casting/Tracing

The V-Ray installer will automatically remove any previous installations. This will allow you to seamlessly upgrade from previous versions.

Illumination Algorithms

Indirect Illumination

Realistic Camera Model

Monte Carlo Integration

Lecture 7 - Path Tracing

Ray-Tracing. Misha Kazhdan

Practical Techniques for Ray Tracing in Games. Gareth Morgan (Imagination Technologies) Aras Pranckevičius (Unity Technologies) March, 2014

13 Distribution Ray Tracing

Photon Mapping. Due: 3/24/05, 11:59 PM

Global Illumination. CSCI 420 Computer Graphics Lecture 18. BRDFs Raytracing and Radiosity Subsurface Scattering Photon Mapping [Ch

Rigid Body Motion and Image Formation. Jana Kosecka, CS 482

CS-184: Computer Graphics. Administrative

1999, Denis Zorin. Ray tracing

Rendering. Generate an image from geometric primitives II. Rendering III. Modeling IV. Animation. (Michael Bostock, CS426, Fall99)

Homework 3: Shading, Raytracing, and Image Processing

Building a Fast Ray Tracer

Computer Graphics. Ray Tracing. Based on slides by Dianna Xu, Bryn Mawr College

Robotics - Projective Geometry and Camera model. Marcello Restelli

3D Rendering. Course Syllabus. Where Are We Now? Rendering. 3D Rendering Example. Overview. Rendering. I. Image processing II. Rendering III.

Computational Photography

Enhancing Traditional Rasterization Graphics with Ray Tracing. March 2015

Advanced Shading I: Shadow Rasterization Techniques

Real-Time Shadows. Last Time? Textures can Alias. Schedule. Questions? Quiz 1: Tuesday October 26 th, in class (1 week from today!

Last Time: Acceleration Data Structures for Ray Tracing. Schedule. Today. Shadows & Light Sources. Shadows

Advanced Ray Tracing

Indirect Illumination

Computer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura

Lecture 18: Primer on Ray Tracing Techniques

graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1

03 RENDERING PART TWO

Real-Time Shadows. Last Time? Today. Why are Shadows Important? Shadows as a Depth Cue. For Intuition about Scene Lighting

Global Rendering. Ingela Nyström 1. Effects needed for realism. The Rendering Equation. Local vs global rendering. Light-material interaction

CS 563 Advanced Topics in Computer Graphics Lecture 2: Bare-Bones Raytracer. by Emmanuel Agu

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

Ray Tracing. Johns Hopkins Department of Computer Science Course : Rendering Techniques, Professor: Jonathan Cohen

Global Illumination. Connelly Barnes CS 4810: Graphics

Transcription:

distribution ray tracing computer graphics distribution ray tracing 2006 fabio pellacini 1 distribution ray tracing use many rays to compute average values over pixel areas, time, area lights, reflected directions, computer graphics distribution ray tracing 2006 fabio pellacini 2

antialiasing origin compute average color subtended by a pixel pixel center pixel average computer graphics distribution ray tracing 2006 fabio pellacini 3 antialiasing by deterministic integration subdivide the pixel in squares cast rays through squares centers average result computer graphics distribution ray tracing 2006 fabio pellacini 4

deterministic antialiasing pseudocode antialising pixel (i, j) c = 0 for sx = 0 to ns for sy = 0 to ns u = (i + (sx+0.5)/ns) / width v = (j + (sj+0.5)/ns) / height Q = imageplanepoint(u,v) c += raytrace(e,q-e) c /= ns 2 computer graphics distribution ray tracing 2006 fabio pellacini 5 antialiasing by Monte Carlo estimation pick random points in pixel area cast rays through them average result computer graphics distribution ray tracing 2006 fabio pellacini 6

Monte Carlo antialiasing pseudocode antialising pixel (i, j) c = 0 for s = 0 to ns 2 (rx,ry) = random2d(); u = (i + rx) / width v = (j + ry) / height Q = imagepoint(u,v) c += raytrace(e,q-e) c /= ns 2 computer graphics distribution ray tracing 2006 fabio pellacini 7 Monte Carlo antialiasing pseudocode antialising pixel (i, j) c = 0 for sx = 0 to ns for sy = 0 to ns (rx,ry) = random2d(); u = (i + (sx+rx)/ns) / width v = (j + (sy+ry)/ns) / height Q = imagepoint(u,v) c += raytrace(e,q-e) c /= ns 2 computer graphics distribution ray tracing 2006 fabio pellacini 8

raytraced images are too clean soft shadows come from area light [Jason Waltman / jasonwaltman.com] raytracing only supports point lights computer graphics distribution ray tracing 2006 fabio pellacini 9 raytraced images are too clean blurry reflections come from rough materials [Jensen] raytracing only supports perfectly sharp mirrors computer graphics distribution ray tracing 2006 fabio pellacini 10

raytraced images are too clean depth of field come from lens system raytracing only supports pinhole camera [Jason Waltman / jasonwaltman.com] computer graphics distribution ray tracing 2006 fabio pellacini 11 raytracer images are too clean motion blur come from shutter speed raytracing only support infinitely fast shutter speed [Jason Waltman / jasonwaltman.com] computer graphics distribution ray tracing 2006 fabio pellacini 12

soft shadows origin area lights create penumbras light is only partially visible from a given point want to compute how much light hits the point computer graphics distribution ray tracing 2006 fabio pellacini 13 approximate soft shadows principle point light area light computer graphics distribution ray tracing 2006 fabio pellacini 14

soft shadows by deterministic integration approximate area light as a set of point lights equivalent to quadrature rule for each point, compute shadows and lighting average results computer graphics distribution ray tracing 2006 fabio pellacini 15 soft shadows by Monte Carlo estimation use Monte Carlo integration pick random points on the light easy for quad lights, hard (but possible) for others compute shadows and lighting average results computer graphics distribution ray tracing 2006 fabio pellacini 16

soft shadows by Monte Carlo estimation for quads computer graphics distribution ray tracing 2006 fabio pellacini 17 how many samples? 1 sample 9 samples 36 samples [Bala] 100 samples computer graphics distribution ray tracing 2006 fabio pellacini 18

blurry reflections origin real materials often have blurred reflections light is scattered around a set of directions want to compute how much light reaches the surface along these directions computer graphics distribution ray tracing 2006 fabio pellacini 19 approximate blurry reflections principle mirror refl. blurry refl. computer graphics distribution ray tracing 2006 fabio pellacini 20

blurred reflection by Monte Carlo est. compute reflected direction R pick random direction R around R compute reflected color along R average results computer graphics distribution ray tracing 2006 fabio pellacini 21 blurred reflection by Monte Carlo est. for quads computer graphics distribution ray tracing 2006 fabio pellacini 22

depth-of-field origin images in eyes and cameras are formed by lenses not all rays converge to a point so only some object appear sharp (in focus) while all other objects do not (out of focus) computer graphics distribution ray tracing 2006 fabio pellacini 23 approximate depth-of-field principle pinhole dof computer graphics distribution ray tracing 2006 fabio pellacini 24

depth-of-field by Monte Carlo estimation pick random points on film and image plane compute color from aperture point toward image one average results computer graphics distribution ray tracing 2006 fabio pellacini 25 depth-of-field by Monte Carlo estimation for quads computer graphics distribution ray tracing 2006 fabio pellacini 26

motion blur origin takes time for images to form on camera/eye during that time the camera/eye is open sensors take the average of what s happening but objects move around in that time computer graphics distribution ray tracing 2006 fabio pellacini 27 approximate motion blur principle no blur blurry refl. computer graphics distribution ray tracing 2006 fabio pellacini 28

motion blur by Monte Carlo estimation for any ray (camera, shadow, reflection), pick random time in the shutter interval update object transformations for picked time compute intersection average results computer graphics distribution ray tracing 2006 fabio pellacini 29 motion blur by Monte Carlo estimation for aliased camera rays computer graphics distribution ray tracing 2006 fabio pellacini 30

combining estimations e.g. compute soft shadows and antialias the pixel [Bala] computer graphics distribution ray tracing 2006 fabio pellacini 31 combining estimations: path tracing idea: randomize the whole path compute all the integrals at once! [Bala] computer graphics distribution ray tracing 2006 fabio pellacini 32