Axis-aligned filtering for interactive sampled soft shadows

We develop a simple and efficient method for soft shadows from planar area light sources, based on explicit occlusion calculation by raytracing, followed by adaptive image-space filtering. Since the method is based on Monte Carlo sampling, it is accurate. Since the filtering is in image-space, it adds minimal overhead and can be performed at real-time frame rates. We obtain interactive speeds, using the Optix GPU raytracing framework. Our technical approach derives from recent work on frequency analysis and sheared pixel-light filtering for offline soft shadows. While sample counts can be reduced dramatically, the sheared filtering step is slow, adding minutes of overhead. We develop the theoretical analysis to instead consider axis-aligned filtering, deriving the sampling rates and filter sizes. We also show how the filter size can be reduced as the number of samples increases, ensuring a consistent result that converges to ground truth as in standard Monte Carlo rendering.

[1]  Jan Kautz,et al.  Precomputed radiance transfer for real-time rendering in dynamic, low-frequency lighting environments , 2002 .

[2]  Jaakko Lehtinen,et al.  Soft shadow volumes for ray tracing , 2005, SIGGRAPH 2005.

[3]  Hans-Peter Seidel,et al.  Real-time, all-frequency shadows in dynamic scenes , 2008, ACM Trans. Graph..

[4]  Harry Shum,et al.  Plenoptic sampling , 2000, SIGGRAPH.

[5]  Michael D. McCool,et al.  Anisotropic diffusion for Monte Carlo noise reduction , 1999, TOGS.

[6]  Elmar Eisemann,et al.  Sample Based Visibility for Soft Shadows using Alias‐free Shadow Maps , 2008, Comput. Graph. Forum.

[7]  Ravi Ramamoorthi,et al.  A Real-time Beam Tracer with Application to Exact Soft Shadows , 2007, Rendering Techniques.

[8]  David K. McAllister,et al.  OptiX: a general purpose ray tracing engine , 2010, ACM Trans. Graph..

[9]  François X. Sillion,et al.  Fast calculation of soft shadow textures using convolution , 1998, SIGGRAPH.

[10]  Donald P. Greenberg,et al.  Direct illumination with lazy visibility evaluation , 1999, SIGGRAPH.

[11]  Eitan Grinspun,et al.  Exploiting temporal coherence for incremental all-frequency relighting , 2006, EGSR '06.

[12]  Loïc Barthe,et al.  Real-time soft shadow mapping by backprojection , 2006, EGSR '06.

[13]  Ruifeng Xu,et al.  A novel Monte Carlo noise reduction operator , 2005, IEEE Computer Graphics and Applications.

[14]  Soheil Darabi,et al.  On filtering the noise from the random parameters in Monte Carlo rendering , 2012, TOGS.

[15]  James F. O'Brien,et al.  Fast and detailed approximate global illumination by irradiance decomposition , 2005, SIGGRAPH 2005.

[16]  Franklin C. Crow,et al.  Shadow algorithms for computer graphics , 1977, SIGGRAPH.

[17]  Richard Peter Weistroffer,et al.  Multidimensional adaptive sampling and reconstruction for ray tracing , 2008, SIGGRAPH 2008.

[18]  William R. Mark,et al.  Soft irregular shadow mapping: fast, high-quality, and robust soft shadows , 2009, I3D '09.

[19]  Ingo Wald,et al.  Efficient ray traced soft shadows using multi-frusta tracing , 2009, High Performance Graphics.

[20]  François X. Sillion,et al.  A Survey of Real‐time Soft Shadows Algorithms , 2003, Comput. Graph. Forum.

[21]  Jaakko Lehtinen,et al.  Soft shadow volumes for ray tracing , 2005, ACM Trans. Graph..

[22]  Andreas Dietrich,et al.  OptiX: a general purpose ray tracing engine , 2010, SIGGRAPH 2010.

[23]  F. Durand,et al.  Temporal light field reconstruction for rendering distribution effects , 2011, ACM Trans. Graph..

[24]  Tomas Akenine-Möller,et al.  A geometry-based soft shadow volume algorithm using graphics hardware , 2003, ACM Trans. Graph..

[25]  Hans-Peter Seidel,et al.  Real-time, all-frequency shadows in dynamic scenes , 2008, SIGGRAPH 2008.

[26]  R. Ramamoorthi,et al.  Adaptive wavelet rendering , 2009, SIGGRAPH 2009.

[27]  Matthias Zwicker,et al.  Multidimensional adaptive sampling and reconstruction for ray tracing , 2008, ACM Trans. Graph..

[28]  Frédo Durand,et al.  Frequency analysis and sheared filtering for shadow light fields of complex occluders , 2011, TOGS.

[29]  Frédo Durand,et al.  A frequency analysis of light transport , 2005, SIGGRAPH '05.

[30]  Holly E. Rushmeier,et al.  Energy preserving non-linear filters , 1994, SIGGRAPH.

[31]  Elmar Eisemann,et al.  Visibility Sampling on GPU and Applications , 2007, Comput. Graph. Forum.

[32]  Frédo Durand,et al.  A Frequency Analysis of Monte-Carlo and other Numerical Integration Schemes , 2011 .

[33]  Lance Williams,et al.  Casting curved shadows on curved surfaces , 1978, SIGGRAPH.

[34]  Loïc Barthe,et al.  Accurate Shadows by Depth Complexity Sampling , 2008, Comput. Graph. Forum.

[35]  Frédo Durand,et al.  Practical filtering for efficient ray-traced directional occlusion , 2011, ACM Trans. Graph..

[36]  François X. Sillion,et al.  A survey of real-time soft-shadow algorithms , 2003 .

[37]  Laurent Moll,et al.  Efficient image-based methods for rendering soft shadows , 2000, SIGGRAPH.

[38]  David A. Forsyth,et al.  Fast and detailed approximate global illumination by irradiance decomposition , 2005, ACM Trans. Graph..

[39]  Baining Guo,et al.  Progressive radiance evaluation using directional coherence maps , 1998, SIGGRAPH.

[40]  F. Durand,et al.  A frequency analysis of light transport , 2005, ACM Trans. Graph..

[41]  P. Shirley,et al.  Raytracing prefiltered occlusion for aggregate geometry , 2008, 2008 IEEE Symposium on Interactive Ray Tracing.

[42]  Frédo Durand,et al.  Frequency analysis and sheared reconstruction for rendering motion blur , 2009, ACM Trans. Graph..

[43]  Alessandro Foi,et al.  Image Denoising by Sparse 3-D Transform-Domain Collaborative Filtering , 2007, IEEE Transactions on Image Processing.

[44]  Frédo Durand,et al.  Fourier depth of field , 2009, TOGS.

[45]  Douglas Lanman,et al.  Shield fields: modeling and capturing 3D occluders , 2008, ACM Trans. Graph..