Today. Participating media. Participating media. Rendering Algorithms: Participating Media and. Subsurface scattering

Similar documents
Participating Media. Part I: participating media in general. Oskar Elek MFF UK Prague

- Volume Rendering -

- Volume Rendering -

The Rendering Equation. Computer Graphics CMU /15-662

Advanced Graphics. Path Tracing and Photon Mapping Part 2. Path Tracing and Photon Mapping

Photon Maps. The photon map stores the lighting information on points or photons in 3D space ( on /near 2D surfaces)

Part I The Basic Algorithm. Principles of Photon Mapping. A two-pass global illumination method Pass I Computing the photon map

Global Illumination. Why Global Illumination. Pros/Cons and Applications. What s Global Illumination

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

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

The Rendering Equation. Computer Graphics CMU /15-662, Fall 2016

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

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

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

A Survey of Modelling and Rendering of the Earth s Atmosphere

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

Global Illumination. COMP 575/770 Spring 2013

Illumination Algorithms

Path Tracing part 2. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

CS 563 Advanced Topics in Computer Graphics Irradiance Caching and Particle Tracing. by Stephen Kazmierczak

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Bioluminescence Chris Fontas & Forrest Browning

No.6 大域照明 Global illumination 担当教員 : 向川康博 田中賢一郎

Lighting affects appearance

The Rendering Equation and Path Tracing

11/2/2010. In the last lecture. Monte-Carlo Ray Tracing : Path Tracing. Today. Shadow ray towards the light at each vertex. Path Tracing : algorithm

Global Illumination The Game of Light Transport. Jian Huang

Monte Carlo Path Tracing. The Rendering Equation

Rendering Algorithms: Real-time indirect illumination. Spring 2010 Matthias Zwicker

Participating Media. Part II: interactive methods, atmosphere and clouds. Oskar Elek MFF UK Prague

CS 5625 Lec 2: Shading Models

An Approach to Point Based Approximate Color Bleeding With Volumes

Global Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

2/1/10. Outline. The Radiance Equation. Light: Flux Equilibrium. Light: Radiant Power. Light: Equation. Radiance. Jan Kautz

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

Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps

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

Shading. Brian Curless CSE 557 Autumn 2017

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

POINT-BASED COLOR BLEEDING WITH VOLUMES. A Thesis. Presented to. the Faculty of California Polytechnic State University.

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

Importance Sampling of Area Lights in Participating Media

Lecture 7 - Path Tracing

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

What is Monte Carlo Modeling*?

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

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

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

Subsurface Scattering & Complex Material Properties

Radiometry, Radiosity and Photon Mapping

Lighting and Shading

COMP371 COMPUTER GRAPHICS

COMPUTER GRAPHICS COURSE. LuxRender. Light Transport Foundations

Class 11 Introduction to Surface BRDF and Atmospheric Scattering. Class 12/13 - Measurements of Surface BRDF and Atmospheric Scattering

Shading. Reading. Pinhole camera. Basic 3D graphics. Brian Curless CSE 557 Fall Required: Shirley, Chapter 10

Interactive Methods in Scientific Visualization

Final Project: Real-Time Global Illumination with Radiance Regression Functions

Lighting affects appearance

To Do. Real-Time High Quality Rendering. Motivation for Lecture. Monte Carlo Path Tracing. Monte Carlo Path Tracing. Monte Carlo Path Tracing

Reflection models and radiometry Advanced Graphics

To Do. Advanced Computer Graphics. Course Outline. Course Outline. Illumination Models. Diffuse Interreflection

Irradiance Gradients. Media & Occlusions

Korrigeringar: An introduction to Global Illumination. Global Illumination. Examples of light transport notation light

In the real world, light sources emit light particles, which travel in space, reflect at objects or scatter in volumetric media (potentially multiple

Advanced Rendering 1/36

THE goal of rendering algorithms is to synthesize images of virtual scenes. Global illumination

Choosing the Right Algorithm & Guiding

Illumination. Michael Kazhdan ( /657) HB Ch. 14.1, 14.2 FvDFH 16.1, 16.2

Optical Models of Direct Volume Rendering by Nelson Max

CS635 Spring Department of Computer Science Purdue University

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

Discussion. Smoothness of Indirect Lighting. History and Outline. Irradiance Calculation. Irradiance Caching. Advanced Computer Graphics (Spring 2013)

Simulating Smoke with an Octree Data Structure and Ray Marching

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

Lecture 18: Primer on Ray Tracing Techniques

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

Rendering Part I (Basics & Ray tracing) Lecture 25 December 1, 2015

Ray Tracing: Special Topics CSCI 4239/5239 Advanced Computer Graphics Spring 2018

Paths, diffuse interreflections, caching and radiometry. D.A. Forsyth

Computer Graphics. Lecture 10. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura 12/03/15

Illumination. The slides combine material from Andy van Dam, Spike Hughes, Travis Webb and Lyn Fong

Path Traced Subsurface Scattering using Anisotropic Phase Functions and Non-Exponential Free Flights

Computer Graphics. - Volume Rendering - Philipp Slusallek

Accelerated Light Propagation Through Participating Media

The Spherical Harmonics Discrete Ordinate Method for Atmospheric Radiative Transfer

The Traditional Graphics Pipeline

Illumination. Courtesy of Adam Finkelstein, Princeton University

Biased Monte Carlo Ray Tracing

A Practical Model for Subsurface Light Transport

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

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

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University

1.Rayleigh and Mie scattering. 2.Phase functions. 4.Single and multiple scattering

Photon Mapping. Michael Doggett Department of Computer Science Lund university

The Rendering Equation & Monte Carlo Ray Tracing

Visual Appearance and Color. Gianpaolo Palma

Monte-Carlo modeling used to simulate propagation of photons in a medium

BRDF Computer Graphics (Spring 2008)

Lighting and Reflectance COS 426

Rendering Participating Media with Bidirectional Path Tracing

Transcription:

Today Rendering Algorithms: Participating Media and Subsurface Scattering Introduction Rendering participating media Rendering subsurface scattering Spring 2009 Matthias Zwicker Participating media Participating media So far: light reflection on surfaces, BRDFs What about interaction of light with volumetric media? Also called scattering media Participating media Applications Clouds, smoke, water, fire, Paint, skin, Scientific/medical volume visualization (CT, MRI, etc.) 1

Participating media Before: Radiance along straight rays through volume is constant Participating media: volumetric media influence radiance along rays What are types of interaction between media and light rays? Participating media Topics Absorption, out-scattering, in-scattering, emission Phase functions Volume rendering equation Ray tracing volumes Absorption/emission Single scattering Absorption Out-scattering Absorption coefficient Material property Also called absorption cross section Rate of absorption Probability per unit length that photon is absorbed Scattering coefficient (or cross section) Rate of being scattered Probability per unit length that photon is scattered into different direction Extinction Extinction Extinction: sum of absorption and outscattering Extinction coefficient [Pharr, Humphreys] 2

Transmittance Fraction of light transported over a certain distance along a ray Transmittance Multiplicative property Homogeneous media Optical thickness Transmittance Beer s law In-scattering Incoming light from all directions that is scattered into one given direction Phase functions Phase function is probability that incoming light from direction is scattered into direction Phase function Expressed using phase angle Isotropic Phase functions: examples Blue sky, red sunset Rayleigh scattering: scattering from particles smaller than wavelength of light For example, molecules in atmosphere Details see, e.g., wikipedia Mie (Lorenz-Mie) theory: scattering by spherical particles (Mie scattering) [Greenler] 3

Henyey-Greenstein phase function Empirical phase function Useful for many phenomena (water, clouds, skin, stone) Phase functions: properties Unitless Reciprocity Average phase angle, asymmetry parameter Energy conservation Backward scattering Forward scattering Amount of scattering is controlled by The volume rendering equation Integro-differential form Describes change of raradiance along a ray Integro-integral form Describes radiance arriving at a point along a ray The volume rendering equation Full solution is very expensive to compute, intractable for complicated scenes Rendering with simplified models Most common approximations Emission/absorption only Single scattering Extinction (absorption, out-scattering) Source (emission, in-scattering) Absorption/emission only No in-scattering Ray marching Approximation of integral Volume emission Remember transmittance Uniformly distributed samples 4

Ray marching Incremental computation of transmittance Ray marching T = 1 L = 0 ds = (s_out s_in) / N for( s = s_ in; s <= s_ out; s += ds ) { L = L + T * L_ve T = T * ( 1 sigma_t(s) * ds) } L = L * ds Absorption/emission only Volume visualization [Pharr, Humphreys] Visualize scalar data on volumetric grid CT, MRI scans, Scalar data represents some physical property of a material il Medical/industrial applications Transfer function assigns color/opacity value to each scalar value Volume visualization Volume rendering: ray marching/ray casting as described before Single scattering Include in-scattering of incident radiance due to direct illumination In-scattering, Direct illumination from light sources Phase function Scattering coefficient 5

Single scattering Direct illumination needs to be attenuated Shoot shadow rays Shadow rays T = 1 dt = t_out t_in / N for( t = t_in; t <= t_out; t += dt ) { T = T * ( 1 sigma _ t(t) ) * dt } L_d = T * L_s // L_s: light source S = sigma_s * p * L_d // p: phase function Single scattering Beams of light [Greenler] [Pharr, Humphreys] [Minneart] Multiple scattering Path tracing, very slow Photon mapping Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps, Jensen, Christensen Realistic Image Synthesis using Photon Mapping, Jensen Photon mapping Volume caustics [Jensen] 6

Same physical phenomon as before Different approximation for specific materials Highly scattering Different rendering algorithms Could render using brute force Monte Carlo path tracing Very expensive Idea: describe scattering properties of material using an extension of BRDFs So far: BRDFs, light scatters exactly at the same point where it hits the surface : light enters the material, bounces around, leaves at a different place BSSRDF: bidirectional surface scattering reflectance distribution function BRDF BSSRDF BSSRDF has 8 degrees of freedom (2 positions, 2 orientations) Hard to capture in the general case Impractical to store in a table Diffusion approximation Light distribution in highly scattering media tends to become isotropic Define a simple, analytic diffuse BSSRDF that approximates subsurface scattering Express scattering as function of distance between entry and exit points Diffusion approximation Approximation known as dipole model [Jensen et al.] Diffusion profile 7

BSSRDF BRDF BRDF BSSRDF Monte Carlo simulation [Jensen et al.] [Jensen et al.] Efficient rendering A Rapid Hierarchical Rendering Technique for Translucent Materials, Jensen, Buhler http://graphics.ucsd.edu/~henrik/papers/fast_bssrdf/fast_bssrdf.pdf Two pass approach First, compute irradiance at a set of surface points Second, evaluate diffuse BSSRDF by gathering irradiance samples Use efficient hierarchical scheme Efficient rendering Irradiance gathering using the diffuse BSSRDF Irradiance sample Reflected radiance Efficient rendering Irradiance samples Efficient rendering Global illumination and subsurface scattering Final image [Jensen, Buhler] [Jensen, Buhler] 8

Next time Camera models and tone mapping 9