Skip to main content

Physically-Based Real-Time Diffraction Using Spherical Harmonics

  • Conference paper
Advances in Visual Computing (ISVC 2006)

Part of the book series: Lecture Notes in Computer Science ((LNIP,volume 4291))

Included in the following conference series:

  • 1855 Accesses

Abstract

Diffraction, interference, dispersive refraction and scattering are four wavelength-dependent mechanisms that produce iridescent colors. Wavelength-dependent functions need to be sampled at discrete wavelengths in the visible spectrum, which increases the computational intensity of rendering iridescence. Furthermore, diffraction requires careful sampling since its response function varies at a higher frequency variation with sharper peaks than interference or dispersive refraction. Consequently, rendering physically accurate diffraction has previously either been approximated using simplified color curves, or been limited to offline rendering techniques such as ray tracing. We propose a technique for real-time rendering of physically accurate diffraction on programmable hardware. Our technique adaptively samples the diffraction BRDF and precomputes it to Spherical Harmonic (SH) basis that preserves the peak intensity of the reflected light. While previous work on diffraction used low dynamic range lights, we preserve the full dynamic range of the incident illumination and the diffractive response over the entire hemisphere of incoming light directions. We defer conversion from a wavelength representation to a tone mapped RGB triplet until display.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Stam, J.: Diffraction Shaders. In: Proc. ACM SIGGRAPH (1999)

    Google Scholar 

  2. Agu, E.: Diffraction Shading Models for Iridescent Surfaces. In: Proc. IASTED VIIP (2002)

    Google Scholar 

  3. Agu, E.: Diffraction shading models in computer graphics (PhD Dissertation, U. of Mass-Amherst)

    Google Scholar 

  4. Thorman, S.: Diffraction based models for iridescent colors in computer generated imagery (PhD Dissertation, U. of Mass-Amherst)

    Google Scholar 

  5. Stroke, G.W.: Diffraction Gratings. In: Handbook Der Physik (Encyclopedia of Physics), pp. 426–754. Springer, Heidelberg (1967)

    Google Scholar 

  6. Nakamae, E., Kaneda, K., Okamoto, T., Nishita, T.: A lighting model aiming at drive simulators. In: Proc. ACM SIGGRAPH 1990, pp. 395–404 (1990)

    Google Scholar 

  7. Lindsay, C., Agu, E.: Wavelength dependent Rendering Using Spherical Harmonics. In: Proc. Eurographics (2005)

    Google Scholar 

  8. Sloan, P., Kautz, J., Snyder, J.: Precomputed radiance transfer for real-time rendering in dynamic, low-frequency lighting environments. ACM Transactions on Graphics, 527–536 (2002)

    Google Scholar 

  9. Ramamoorhthi, R., Hanrahan, P.: Frequency Space Environment Map Rendering. In: Proc. ACMSIGGRAPH 2002, pp. 517–526 (2002)

    Google Scholar 

  10. Ramamoorthi, R., Hanrahan, P.: An Efficient Representation for Irradiance Environment Maps. In: Proc. ACM SIGGRAPH 2001, pp. 497–500 (2001)

    Google Scholar 

  11. Kautz, J., Sloan, P., Snyder, J.: Fast Arbitrary BRDF Shading for Low-Frequency Lighting Using Spherical Harmonics. In: Proc. 13th Eurographics workshop on Rendering, pp. 291–296 (2002)

    Google Scholar 

  12. Westin, S., Arvo, J., Torrance, K.: Predicting Reflectance Functions from Complex Surfaces. In: Proc. ACM SIGGRAPH 1992, pp. 255–264 (1992)

    Google Scholar 

  13. Stam, J.: Simulating Diffraction. In: GPU Gems, ch. 8, Addison Wesley, Reading (2004)

    Google Scholar 

  14. Sun, Y., Drew, M., Fracchia, F.D.: Representing Spectral Functions by a Composite Model of Smooth and Spiky Components for Efficient Full-Spectrum Photorealism. In: Proc. IEEE Workshop on Photometric Modeling for Computer Vision and Graphics 1999, pp. 4–11 (1999)

    Google Scholar 

  15. Sun, Y.: A Spectrum-Based Framework for Realistic Image Synthesis. Phd dissertation, Simon Fraser University (2000)

    Google Scholar 

  16. Sun, Y., Fracchia, F.D., Drew, M.S., Calvert, T.W.: Rendering Iridescent Colors of Optical Disks, Simon Fraser Univ., Tech. Report SFU CMPT TR 1999-08 (1999)

    Google Scholar 

  17. Heidrich, W.: View-Independent Environment Maps. In: Proc. Eurographics/SIGG RAPH Workshop on Graphics Hardware 1998 (1998)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Lindsay, C., Agu, E. (2006). Physically-Based Real-Time Diffraction Using Spherical Harmonics. In: Bebis, G., et al. Advances in Visual Computing. ISVC 2006. Lecture Notes in Computer Science, vol 4291. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11919476_51

Download citation

  • DOI: https://doi.org/10.1007/11919476_51

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-48628-2

  • Online ISBN: 978-3-540-48631-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics