## Fast 4D Sheared Filtering for Interactive Rendering of Distribution Effects

University of California, Berkeley

ACM Transactions on Graphics, 2015

@article{yan2015fast,

title={Fast 4D Sheared Filtering for Interactive Rendering of Distribution Effects},

author={Yan, Ling-Qi and Mehta, Soham Uday and Ramamoorthi, Ravi and Durand, Fredo},

journal={ACM Transactions on Graphics},

volume={35},

number={1},

pages={7},

year={2015},

publisher={ACM}

}

Soft shadows, depth of field, and diffuse global illumination are common distribution effects, usually rendered by Monte Carlo ray tracing. Physically correct, noise-free images can require hundreds or thousands of ray samples per pixel, and take a long time to compute. Recent approaches have exploited sparse sampling and filtering; the filtering is either fast (axisaligned), but requires more input samples, or needs fewer input samples but is very slow (sheared). We present a new approach for fast sheared filtering on the GPU. Our algorithm factors the 4D sheared filter into four 1D filters. We derive complexity bounds for our method, showing that the per-pixel complexity is reduced from O(n^2 l^2) to O(nl), where n is the linear filter width (filter size is O(n^2)) and l is the (usually very small) number of samples for each dimension of the light or lens per pixel (spp is l^2). We thus reduce sheared filtering overhead dramatically. We demonstrate rendering of depth of field, soft shadows and diffuse global illumination at interactive speeds. We reduce the number of samples needed by 5 – 8x, compared to axis-aligned filtering, and framerates are 4x faster for equal quality.

September 3, 2016 by hgpu

Fast 4D Sheared Filtering for Interactive Rendering of Distribution Effects,