Ray Tracing
April 27, 2017 ❖ Lecture 20
Outline
Basic Ray Tracing: Notes
Ambient Occlusion
Ambient Occlusion: Example
http://www.gavinharrison.co.uk/renderman04.php
DRT Application #2: Soft Shadows
Soft Shadows: Example
1 shadow ray
10 shadow rays
50 shadow rays
Note discrete "shadow points" -- need post-processing to smooth into contiguous region
DRT Application #3: Glossy Reflections
Why is the reflection sharper at the top?
DRT for Glossy Reflections
from Hill
Other DRT Effects
Other DRT Effects
Bounding Volumes for Efficiency
Bounding Boxes as Volumes: Multiple Objects
A box around each object, or a single box surrounding all objects, are not optimally efficient schemes
Bounding Boxes as Volumes: Multiple Objects
Nested boxes impose a hierarchy...
...that allow a more efficient recursive tree search
Uniform Spatial Subdivision
Uniform Spatial Subdivision
Can Ray Tracing Do This?
courtesy of H. Wann Jensen
caustic
Light Paths
from Sillion & Puech
Light Paths: Examples
from Hill
Ray tracing light paths
General light paths
from Sillion & Puech
Caustics
courtesy of H. Wann Jensen
from Sillion & Puech
Caustics: Examples
More about caustics
emitted light
reflected light
Review: BRDFs
from Sillion & Puech
The Problem with Diffuse Surfaces
from P. Heckbert
from Sillion & Puech
Bidirectional Ray Tracing (P. Heckbert, 1990)
from P. Heckbert
Bidirectional Ray Tracing: Notes
from P. Heckbert
Bidirectional Ray Tracing: Results
from P. Heckbert
Lens, mirrored sphere, and diffuse surface with caustic
of focused light
“Backwards” Ray Tracing (1986)
courtesy of J. Arvo
A technique similar to Heckbert’s was used to form this image
What’s Still Missing?
What’s Still Missing?
from http://gurneyjourney.blogspot.com
(This is a photo)
What’s Still Missing?
An LD*E
scene
courtesy of Cornell
Color Bleeding
courtesy of K. Fatahalian & J. Hui
White light only, so red and blue on white wall are from bleeding