Project 9 - Depth of Field

All images are rendered with multi-threading, thread pool implementation, 8 threads, 8 pixels/task.
The Halton sequences in my project is of base (2, 3). For adaptive sampling, minimum/maximum number of samples per pixel is 8 and 200. The stopping error is 0.001 ( new_variance / starting_variance < 0.001 )


Test scene, 1 sample/pixel, without depth-of-field


Render time: 2.52538 seconds.


With depth of field:


Threshold: 1e-3
Min/max number of samples per pixel: 8/200
Render time: 143.2098 seconds.


Image sharpened by box filter of size 3x3, Laplace kernel:


Kernel: [-1, -1, -1, -1, 8, -1, -1, -1, -1]


Sample count per pixel for adaptive Halton sample:


Threshold: 1e-3
Min/max number of samples per pixel: 8/200

Hardware configuration

Intel Core i7 CPU @ 3.50Ghz
32 GB RAM
Mac OS Maverick.