Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1179352.1141982acmconferencesArticle/Chapter ViewAbstractPublication PagessiggraphConference Proceedingsconference-collections
Article

Real-time soft shadows in dynamic scenes using spherical harmonic exponentiation

Published: 01 July 2006 Publication History

Abstract

Previous methods for soft shadows numerically integrate over many light directions at each receiver point, testing blocker visibility in each direction. We introduce a method for real-time soft shadows in dynamic scenes illuminated by large, low-frequency light sources where such integration is impractical. Our method operates on vectors representing low-frequency visibility of blockers in the spherical harmonic basis. Blocking geometry is modeled as a set of spheres; relatively few spheres capture the low-frequency blocking effect of complicated geometry. At each receiver point, we compute the product of visibility vectors for these blocker spheres as seen from the point. Instead of computing an expensive SH product per blocker as in previous work, we perform inexpensive vector sums to accumulate the log of blocker visibility. SH exponentiation then yields the product visibility vector over all blockers. We show how the SH exponentiation required can be approximated accurately and efficiently for low-order SH, accelerating previous CPU-based methods by a factor of 10 or more, depending on blocker complexity, and allowing real-time GPU implementation.

Supplementary Material

JPG File (p977-ren-high.jpg)
JPG File (p977-ren-low.jpg)
High Resolution (p977-ren-high.mov)
Low Resolution (p977-ren-low.mov)

References

[1]
Agarwala, M., Ramamoorthi, R., Heirich, A., and Moll, L. 2000. Efficient image-based methods for rendering soft shadows. In Proc. of ACM SIGGRAPH 2000, 375--384.]]
[2]
Assarsson, U., and Akenine-Möller, T. 2003. A geometry-based soft shadow algorithm using graphics hardware. ACM Trans. Gr. 22, 3, 511--520.]]
[3]
Blythe, D. 2006. The Direct3D 10 system. to appear in Proc. ACM SIGGRAPH 2006 (ACM Trans. Gr.).]]
[4]
Bradshaw, G., and O'Sullivan, C. 2004. Adaptive medial-axis approximation for sphere-tree construction. ACM Trans. Gr. 23, 1 (Jan.), 1--26.]]
[5]
Bunnell, M. 2004. Dynamic ambient occlusion and indirect lighting. In GPU Gems 2: Programming Techniques for High-Performance Graphics and General-Purpose Computation. Addison-Weseley Professional, 223--233.]]
[6]
Cohen-Steiner, D., Alliez, P., and Desbrun, M. 2004. Variational shape approximation. ACM Trans. Gr. 23, 3, 905--914.]]
[7]
Higham, N. 2005. The scaling and squaring method for the matrix exponential revisited. In SIAM Journal of Matrix Analysis Applications, no. 4, 1179--1193.]]
[8]
Hubbard, P. 1995. Collision detection for interactive graphics applications. IEEE Transactions on Visualization and Computer Graphics, 3, 218--230.]]
[9]
James, D., and Fatahalian, K. 2003. Precomputing interactive dynamic deformable scenes. ACM Trans. Gr. 22, 3, 879--887.]]
[10]
Kautz, J., Sloan, P., and Snyder, J. 2002. Fast, arbitrary BRDF shading for low-frequency lighting using spherical harmonics. In Proc. of the 13th Eurographics Workshop on Rendering, 291--296.]]
[11]
Kautz, J., Lehtinen, J., and Aila, T. 2004. Hemispherical rasterization for self-shadowing of dynamic objects. In Proc. of Eurographics Symposium on Rendering 2004, 179--184.]]
[12]
Kontkanen, J., and Laine, S. 2005. Ambient occlusion fields. In Proc. of 2005 Symposium on Interactive 3D Graphics, SI3D2005, 41--48.]]
[13]
Laine, S., Aila, T., Assarsson, U., Lehtinen, J., and Akenine-Möller, T. 2005. Soft shadow volumes for ray tracing. ACM Trans. Gr. 24, 3, 1156--1165.]]
[14]
Lloyd, S. 1982. Least squares quantization in PCM. IEEE Transactions on Information Theory IT-28, 2 (Mar.), 129--137.]]
[15]
Malmer, M., Malmer, F., Assarsson, U., and Holzschuch, N. 2005. Fast precomputed ambient occlusion for proximty shadows. Tech. Rep. 5779, INRIA.]]
[16]
McCool, M., Ang, J., and Ahmad, A. 2001. Homomorphic factorization of BRDFs for high-performance rendering. In Proc. of ACM SIGGRAPH 2001, 171--178.]]
[17]
Mei, C., Shi, J., and Wu, F. 2004. Rendering with spherical radiance transport maps. Eurographics 2004 (Computer Graphics Forum) 23, 3, 281--290.]]
[18]
Ng, R., Ramamoorthi, R., and Hanrahan, P. 2003. All-frequency shadows using non-linear wavelet lighting approximation. ACM Trans. Gr. 22, 3, 376--381.]]
[19]
Ng, R., Ramamoorthi, R., and Hanrahan, P. 2004. Triple product integrals for all-frequency relighting. ACM Trans. Gr. 23, 3, 477--487.]]
[20]
Press, W., Teukolsky, S., Vetterling, W., and Flannery, B. 1992. Numerical Recipes in C, Second Edition. Cambridge University Press, Cambridge, England.]]
[21]
Ramamoorthi, R., and Hanrahan, P. 2001. An efficient representation for irradiance environment maps. In Proc. of ACM SIGGRAPH 2001, 497--500.]]
[22]
Ren, Z., Wang, R., Snyder, J., Zhou, K., Liu, X., Sun, B., Sloan, P., Bao, H., Peng, Q., and Guo, B. 2006. Supplement for real-time soft shadows in dynamic scenes using spherical harmonic exponentiation. Tech. rep., Microsoft Corporation. available on the SIGGRAPH 2006 Conference DVD.]]
[23]
Schetzen, M. 1980. The Volterra and Wiener Theories of Nonlinear Systems. John Wiley and Sons.]]
[24]
Segal, M., Korobkin, C., Van Widenfelt, R., Foran, J., and Haeberli, P. 1992. Fast shadows and lighting effects using texture mapping. In Proc. of SIGGRAPH 92, 249--252.]]
[25]
Sloan, P., Kautz, J., and Snyder, J. 2002. Precomputed radiance transfer for real-time rendering in dynamic, low-frequency lighting environments. ACM Trans. Gr. 21, 3, 527--536.]]
[26]
Sloan, P., Hall, J., Hart, J., and Snyder, J. 2003. Clustered principal components for precomputed radiance transfer. ACM Trans. Gr. 22, 3, 382--391.]]
[27]
Sloan, P., Luna, B., and Snyder, J. 2005. Local, deformable precomputed radiance transfer. ACM Trans. Gr. 24, 3, 1216--1224.]]
[28]
Snyder, J. 2006. Code generation and factoring for fast evaluation of low-order spherical harmonic products and squares. Tech. Rep. MSR-TR-2006-53, Microsoft Corporation.]]
[29]
Soler, C., and Sillion, F. 1998. Fast calculation of soft shadow textures using convolution. In Proc. of ACM SIGGRAPH 1998, 321--332.]]
[30]
Tao, J., Schaefer, S., and J., W. 2005. Mean value coordinates for closed triangular meshes. ACM Trans. Gr. 24, 3, 561--566.]]
[31]
Wang, R., Zhou, K., Snyder, J., Liu, X., Bao, H., Peng, Q., and Guo, B. 2006. Variational sphere set approximation for solid objects. Submitted to Pacific Graphics.]]
[32]
Zhou, K., Hu, Y., Lin, S., Guo, B., and Shum, H. 2005. Precomputed shadow fields for dynamic scenes. ACM Trans. Gr. 24, 3, 1196--1201.]]

Cited By

View all
  • (2024)Efficient Environment Map Rendering Based on DecompositionComputer Graphics Forum10.1111/cgf.15264Online publication date: 22-Oct-2024
  • (2023)Differentiable Shadow Mapping for Efficient Inverse Graphics2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)10.1109/CVPR52729.2023.00022(142-153)Online publication date: Jun-2023
  • (2022)Robust Cuboid Modeling from Noisy and Incomplete 3D Point Clouds Using Gaussian Mixture ModelRemote Sensing10.3390/rs1419503514:19(5035)Online publication date: 9-Oct-2022
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGGRAPH '06: ACM SIGGRAPH 2006 Papers
July 2006
742 pages
ISBN:1595933646
DOI:10.1145/1179352
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 July 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Volterra series
  2. ambient occlusion
  3. lighting environment

Qualifiers

  • Article

Conference

SIGGRAPH06
Sponsor:

Acceptance Rates

SIGGRAPH '06 Paper Acceptance Rate 86 of 474 submissions, 18%;
Overall Acceptance Rate 1,822 of 8,601 submissions, 21%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)23
  • Downloads (Last 6 weeks)6
Reflects downloads up to 16 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Efficient Environment Map Rendering Based on DecompositionComputer Graphics Forum10.1111/cgf.15264Online publication date: 22-Oct-2024
  • (2023)Differentiable Shadow Mapping for Efficient Inverse Graphics2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)10.1109/CVPR52729.2023.00022(142-153)Online publication date: Jun-2023
  • (2022)Robust Cuboid Modeling from Noisy and Incomplete 3D Point Clouds Using Gaussian Mixture ModelRemote Sensing10.3390/rs1419503514:19(5035)Online publication date: 9-Oct-2022
  • (2022)Harmonics Virtual Lights: Fast Projection of Luminance Field on Spherical Harmonics for Efficient RenderingComputer Graphics Forum10.1111/cgf.1456441:6(182-195)Online publication date: 27-May-2022
  • (2022)Recursive analytic spherical harmonics gradient for spherical lightsComputer Graphics Forum10.1111/cgf.1448241:2(393-406)Online publication date: 24-May-2022
  • (2022)Radiance Transfer of diffuse objects in dynamic scenes2022 4th International Conference on Communications, Information System and Computer Engineering (CISCE)10.1109/CISCE55963.2022.9851122(104-113)Online publication date: 27-May-2022
  • (2022)Spatially and color consistent environment lighting estimation using deep neural networks for mixed realityComputers and Graphics10.1016/j.cag.2021.08.007102:C(257-268)Online publication date: 1-Feb-2022
  • (2022)Recognition of spherical segments using number theoretic properties of isothetic coversMultimedia Tools and Applications10.1007/s11042-022-14182-382:13(19393-19416)Online publication date: 23-Nov-2022
  • (2021)Fast and accurate spherical harmonics productsACM Transactions on Graphics10.1145/3478513.348056340:6(1-14)Online publication date: 10-Dec-2021
  • (2021)Efficient spherical harmonic shading for separable BRDFSIGGRAPH Asia 2021 Technical Communications10.1145/3478512.3488597(1-4)Online publication date: 14-Dec-2021
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media