Distributed Ray Tracing

Similar documents
Distributed Ray Tracing

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

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

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

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

distribution ray-tracing

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

Anti-aliasing and sampling

distribution ray tracing

Physically Realistic Ray Tracing

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

EECS 487: Interactive Computer Graphics

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

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

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

Anti-aliasing and Monte Carlo Path Tracing

Distribution Ray Tracing

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

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

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

Recursive Ray Tracing

Computer Graphics Project

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

Ray scene intersections

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

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

Basic GPU techniques Josef Pelikán CGG MFF UK Praha.

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Global Illumination The Game of Light Transport. Jian Huang

Ray tracing. EECS 487 March 19,

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

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

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

Sung-Eui Yoon ( 윤성의 )

Soft Shadow Maps. Soft Shadow Maps for Linear Lights

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

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

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

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

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

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

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

Photorealism: Ray Tracing

Measuring Light: Radiometry and Cameras

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

Image warping introduction

Cameras. Camera. Digital Image Synthesis Yung-Yu Chuang 10/26/2006

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

INFOGR Computer Graphics. Jacco Bikker - April-July Lecture 14: Grand Recap. Welcome!

782 Schedule & Notes

Welcome to COMP 770 (236) Introduction. Prerequisites. Prerequisites

Shadows. COMP 575/770 Spring 2013

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome!

Local vs. Global Illumination & Radiosity

CS5620 Intro to Computer Graphics

Realistic Camera Model

Computer Graphics Global Illumination

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

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane

CS201 Computer Vision Lect 4 - Image Formation

Computer Vision. The image formation process

Introduction to Computer Vision. Introduction CMPSCI 591A/691A CMPSCI 570/670. Image Formation

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

Computer Graphics Global Illumination

The Rendering Equation and Path Tracing

Advanced Rendering 1/36

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

CPSC GLOBAL ILLUMINATION

Advanced Ray Tracing

The Rendering Equation. Computer Graphics CMU /15-662

CS559 Computer Graphics Fall 2015

CS-184: Computer Graphics. Administrative

6. Illumination, Lighting

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

CSCI 4972/6963 Advanced Computer Graphics Quiz 2 Tuesday April 17, 2007 noon-1:30pm

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

CSE 167: Introduction to Computer Graphics Lecture #6: Colors. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

Anti-aliasing. Images and Aliasing

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

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

Lecture 7 - Path Tracing

Turn your movie file into the homework folder on the server called Lights, Camera, Action.

Wednesday, 26 January 2005, 14:OO - 17:OO h.

Spectral Color and Radiometry

Lecture 10: Ray tracing

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

Today. Acceleration Data Structures for Ray Tracing. Cool results from Assignment 2. Last Week: Questions? Schedule

INFOMAGR Advanced Graphics. Jacco Bikker - February April Welcome!

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Chapter 36. Image Formation

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

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

Hierarchical Models Josef Pelikán & Alexander Wilkie CGG MFF UK Praha

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

Topics and things to know about them:

3D Rendering and Ray Casting

4. A bulb has a luminous flux of 2400 lm. What is the luminous intensity of the bulb?

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

Introduction Ray tracing basics Advanced topics (shading) Advanced topics (geometry) Graphics 2010/2011, 4th quarter. Lecture 11: Ray tracing

Transcription:

Distributed Ray Tracing 1996-2018 Josef Pelikán CGG MFF UK Praha pepca@cgg.mff.cuni.cz http://cgg.mff.cuni.cz/~pepca/ DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 1 / 24

Distributed ray tracing better image quality (fidelity) soft shadows, glossy reflections, soft refractions motion blur depth of field imitation light dispersion (index of refraction depends on ) introducing new variables to an image function reflection or refraction angle, wavelength, light source point, lens entry point, time,.. DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 2 / 24

Glossy reflection v A n r ideal (mirror) reflection actual (glossy) reflection DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 3 / 24

Glossy reflection computation Sharp reflection: I R I V (one reflected ray) Glossy reflection:,,,, I V I R BRDF d d sphere koule reflectance function (weighted integral average.. over all reflection angles) DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 4 / 24

Glossy reflection example 400 spp DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 5 / 24

Soft refraction n v A actual (soft) refraction t ideal (sharp) refraction DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 6 / 24

Soft shadow area light source full shadow (umbra) obstacle partial shadow (penumbra) DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 7 / 24

Soft shadow computation Contribution of a point light source: I A I L 0 if source is visible from A else Contribution of an area light source: % I A I S L visible portion of a light source DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 8 / 24

Soft shadow computation Contribution of an inhomogenous light source: I A IL u, v vis A, u, v dudv light plocha source zdroje area visibility function vis A, u, v 1 0 if S(u,v) is visible from A else DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 9 / 24

Soft shadow example 256 spp DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 10 / 24

Motion blur path of the solid s(t) rendered interval: (shutter open time) [ t 1, t 2 ] scene rendering in time t: f(t) = f(x,y,t) DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 11 / 24

Motion blur General motion blur: f blurr t t 2 1 f t dt DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 12 / 24

Motion blur Scene with single moving object: t 2 1 f t s t dt f blurr t 1 t t 2 1 s t 1 dt s t on na t, t 0 1 2 DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 13 / 24

Depth of field lens imaging plane (film) focus plane DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 14 / 24

Geometric simplification p,q lense x,y V xy radius r T xy imaging plane (image) focus plane DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 15 / 24

Depth of field computation Pinhole camera model:, f x y I V xy V T x, y, 0 xy xy V T p, q, 0 pq xy Lens with finite aperture:, pq circle kruharound kolem x, y f x y I V dp dq DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 16 / 24

Depth of field examples DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 17 / 24

Light dispersion white light (all wavelengths) separated wavelengths image function: f() = f(x,y,) DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 18 / 24

Light dispersion computation Pixel RGB color from spectral dristribution:,,, R x y f x y R d spectrum spektrum,,, G x y f x y G d spectrum spektrum trichromatic spectral coefficients,,, B x y f x y B d spectrum spektrum DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 19 / 24

Light dispersion example DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 20 / 24

Implementation integral averaging is done stochastically (Monte- Carlo methods) finite number of point samples (rays) integral is estimated by a [weighted] sum weighted integral average uniform sampling and appropriate weight function nonuniform sampling (using the right density/pdf) DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 21 / 24

Combining methods any methods can be combined with anti-aliasing as well higher order integrals e.g. dimension 10: anti-aliasing (2), depth of field (2), glossy reflection (2), soft shadows (2), motion blur (1), light dispersion (1) sampling method: jittering independent jittering ( N rooks ) in form of hidden sampling adaptive sampling DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 22 / 24

Hidden sampling number of samples per pix (primary rays) is defined every inner component is sampling independently arbitrary number of additional (sampled) dimensions 1 [x,y] [g,d] glossy [a,b] shadow random permutation jittering............ Implementation: N [ rank, total ] DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 23 / 24

References A. Glassner: An Introduction to Ray Tracing, Academic Press, London 1989, 171-199 A. Watt, M. Watt: Advanced Animation and Rendering Techniques, Addison-Wesley, Wokingham 1992, 262-265 DistribRT 2018 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 24 / 24