CS6620 - Ray Tracing for Graphics

Project 9 - Depth of Field

Daqi Lin

Config

Processor: Intel(R) Core i7-6700HQ CPU @ 2.60GHz, 4 physical cores
RAM: 8 GB DDR4 2133Mhz (2xDIMMs)
OS: Windows 10 Pro x64

Implemented functions

Depth of field effect

Adaptive dof sampling (the further the shaded point to the focal plane, the more samples it takes)

Selected Test results(s):
Quasirandom pattern for pixel sampling and stratified pattern for lens sampling with Gaussian filter, maximum 64 samples per pixel
adaptive - 6.05
non-adaptive - 40.0

Result (non-adaptive dof, 64 samples per pixel)

Result (adaptive dof, max 64 samples per pixel)

Comparing with non-adaptive dof with similar magnitude of time

Result (non-adaptive dof, 4 samples per pixel)