subsurface scattering rendering

19
Subsurface Scattering Rendering

Upload: badrani

Post on 23-Feb-2016

37 views

Category:

Documents


0 download

DESCRIPTION

Subsurface Scattering Rendering. Subsurface scattering. Model of light transport in translucent materials Marble, jade, milk, skin Light penetrates material and exits at different point Not simple reflection Light absorbed the further it travels into material. BRDF. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Subsurface Scattering Rendering

Subsurface Scattering Rendering

Page 2: Subsurface Scattering Rendering

Subsurface scatteringModel of light transport in translucent

materials Marble, jade, milk, skin

Light penetrates material and exits at different point Not simple reflection

Light absorbed the further it travels into material

Page 3: Subsurface Scattering Rendering

BRDFBRDF - Bidirectional

Reflectance Distribution Function

Defines how light is reflected on an opaque surface

Assumes light enters and leaves material at same position

Page 4: Subsurface Scattering Rendering

BSSRDFBSSRDF -

Bidirectional Sub-surface Scattering Reflectance Distibution Function

Can describe light transport between any two rays that hit a surface

Page 5: Subsurface Scattering Rendering

Comparison – BRDF vs BSSRDF

Page 6: Subsurface Scattering Rendering

Comparison – BRDF vs BSSRDF

Page 7: Subsurface Scattering Rendering

BSSRDF – How to calculate?Outgoing radiance equation:

Integrating over incoming directions and area gives:

Page 8: Subsurface Scattering Rendering

BSSRDF functionBSSRDF function:

Comprised of diffuse and single scattering components

Page 9: Subsurface Scattering Rendering

BSSRDF – Diffuse scattering term

Fresnel terms – light refraction from entering material and then exiting

Diffuse sub-surface reflectance function

Page 10: Subsurface Scattering Rendering

BSSRDF – Diffuse sub-surface reflectance function

Page 11: Subsurface Scattering Rendering

BSSRDF – Single scatteringOccurs when

refracted incoming and outgoing rays intersect

Page 12: Subsurface Scattering Rendering

BSSRDF – Single scattering termTotal outgoing radiance due to single

scattering:

Page 13: Subsurface Scattering Rendering

BSSRDF – ImplementationCan be implemented in a ray tracerSimilar to sampling area light source in distributed ray

tracingFor each ray-object intersection integrate light over area of

surfaceSample single scattering term along refracted outgoing raySample diffuse scattering term around outgoing position

Page 14: Subsurface Scattering Rendering

Fast BSSRDFCan speed up calculation by using optimising

BSSRDFContribution of single scattering term is

small for materials with high albedo, so can be ignored

Therefore only need to calculate diffuse term

Page 15: Subsurface Scattering Rendering

Fast BSSRDF - ImplementationTwo passes

Sampling irradianceEvaluating diffusion approximation

Page 16: Subsurface Scattering Rendering

Fast BSSRDF – Sampling IrradianceCreate sample points on mesh

Distance between sample points equal to average distance at which light is scattered within material

For each point store location, area, and irradiance

Page 17: Subsurface Scattering Rendering

Fast BSSRDF – Evaluating Diffusion ApproximationSum the contribution of all irradiance

samples for each outgoing pointContribution from irradiance samples

decreases according to distance from outputWe can cluster distant samples

Implement using a hierarchical structure – eg. octree, indexed by point and area

Page 18: Subsurface Scattering Rendering

Fast BSSRDF – Output

Page 19: Subsurface Scattering Rendering

ReferencesJensen, Marschner, Levoy and Hanrahan: “A

Practical Model for Subsurface Light Transport”

http://graphics.ucsd.edu/~henrik/papers/bssrdf/

Jensen and Buhler: “A Rapid Hierarchical Rendering Technique for Translucent Materials”http://graphics.ucsd.edu/~henrik/papers/fast_b

ssrdf