Fast Geometric Sampling for Phong-Like Reflection

  • Conference paper
  • First Online:
Advances in Computer Graphics (CGI 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14496))

Included in the following conference series:

  • 533 Accesses

Abstract

Importance sampling is a critical technique for reducing the variance of Monte Carlo samples. However, the classical importance sampling based on the Bidirectional Reflectance Distribution Function (BRDF) is often complex and challenging to implement. In this work, we present a simple yet efficient sampling method inspired by Phong’s reflectance model. Our method generates samples of rays using geometric vector operations, replacing the need for BRDF. We explain our implementation of this method on WebGL and demonstrate how we obtain per-pixel random numbers in GLSL. We also conduct experiments to compare our method’s speed and patterns to the Phong distribution. The results show that our sampling process can simulate reflections similar to Phong, but is about three times faster than traditional Phong or other BRDF importance sampling methods. Our sampling method is applicable to both real-time and offline rendering, making it a useful tool for computer graphics applications.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Ashikhmin, M., Ghosh, A.: Simple blurry reflections with environment maps. J. Graph. Tools 7(4), 3–8 (2002)

    Article  Google Scholar 

  2. Baker, J.A.: Integration over spheres and the divergence theorem for balls. Am. Math. Mon. 104(1), 36–47 (1997)

    Article  MathSciNet  Google Scholar 

  3. Blinn, J.F.: Models of light reflection for computer synthesized pictures. In: Proceedings of the 4th Annual Conference on Computer Graphics and Interactive Techniques, pp. 192–198 (1977)

    Google Scholar 

  4. Duff, T., et al.: Building an orthonormal basis, revisited. J. Comput. Graph. Tech. (JCGT) 6(1) (2017)

    Google Scholar 

  5. Gooch, A., Gooch, B., Shirley, P., Cohen, E.: A non-photorealistic lighting model for automatic technical illustration. In: Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques, pp. 447–452 (1998)

    Google Scholar 

  6. Heitz, E.: Sampling the GGX distribution of visible normals. J. Comput. Graph. Tech. 7(4), 1–13 (2018)

    Google Scholar 

  7. Heitz, E., d’Eon, E.: Importance sampling microfacet-based BSDFs using the distribution of visible normals. In: Computer Graphics Forum, vol. 33, pp. 103–112. Wiley Online Library (2014)

    Google Scholar 

  8. Kurt, M.: Real-time shading with Phong BRDF model. J. Sci. Eng. 21(63), 859–867 (2019)

    Google Scholar 

  9. Lafortune, E.P., Willems, Y.D.: Using the modified Phong reflectance model for physically based rendering (1994)

    Google Scholar 

  10. McGuire, M., Evangelakos, D., Wilcox, J., Donow, S., Mara, M.: Plausible Blinn-Phong reflection of standard cube MIP-maps. Technical report, Citeseer (2013)

    Google Scholar 

  11. Phong, B.T.: Illumination for computer generated pictures. Commun. ACM 18(6), 311–317 (1975)

    Article  Google Scholar 

  12. Torrance, K.E., Sparrow, E.M.: Theory for off-specular reflection from roughened surfaces. Josa 57(9), 1105–1114 (1967)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Han Su .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yang, S., Su, H. (2024). Fast Geometric Sampling for Phong-Like Reflection. In: Sheng, B., Bi, L., Kim, J., Magnenat-Thalmann, N., Thalmann, D. (eds) Advances in Computer Graphics. CGI 2023. Lecture Notes in Computer Science, vol 14496. Springer, Cham. https://doi.org/10.1007/978-3-031-50072-5_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-50072-5_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-50071-8

  • Online ISBN: 978-3-031-50072-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics

Navigation