The Visual Computer

, Volume 34, Issue 9, pp 1155–1164 | Cite as

Lens flare prediction based on measurements with real-time visualization

  • Andreas WalchEmail author
  • Christian Luksch
  • Attila Szabo
  • Harald Steinlechner
  • Georg Haaser
  • Michael Schwärzler
  • Stefan Maierhofer
Original Article


Lens flare is a visual phenomenon caused by interreflection of light within a lens system. This effect is often seen as an undesired artifact, but it also gives rendered images a realistic appearance and is even used for artistic purposes. In the area of computer graphics, several simulation-based approaches have been presented to render lens flare for a given spherical lens system. For physically reliable results, these approaches require an accurate description of that system, which differs from camera to camera. Also, for the lens flares appearance, crucial parameters—especially the anti-reflection coatings—can often only be approximated. In this paper we present a novel workflow for generating physically plausible renderings of lens flare phenomena by analyzing the lens flares captured with a camera. Our method allows predicting the occurrence of lens flares for a given light setup. This is an often requested feature in light planning applications in order to efficiently avoid lens flare-prone light positioning. A model with a tight parameter set and a GPU-based rendering method allows our approach to be used in real-time applications.


Lens flare Data-driven workflow Real time 



We want to dedicate this work to our late colleague Robert F. Tobler.

Compliance with Ethical Standards


VRVis is funded by BMVIT, BMWFW, Styria, SFG and Vienna Business Agency in the scope of COMET - Competence Centers for Excellent Technologies (854174) which is managed by FFG. Conflict of Interest: The authors declare that they have no conflict of interest.


  1. 1.
    Alspach, T.: Vector-based representation of a lens flare. US Patent 7,526,417 (2009)Google Scholar
  2. 2.
    Chaumond, J.: Realistic camera—lens flare. (2007)
  3. 3.
    Christopher, M.B.: Pattern Recognition and Machine Learning. Springer, Berlin (2006)zbMATHGoogle Scholar
  4. 4.
    Franke, G.: Physical Optics in Photography. The Focal Press, London (1966). | c1966Google Scholar
  5. 5.
    Hanika, J., Dachsbacher, C.: Efficient Monte Carlo rendering with realistic lenses. In: Computer Graphics Forum, vol. 33, pp. 323–332. Wiley Online Library (2014)Google Scholar
  6. 6.
    Hennessy, P.: Implementation notes: physically based lens flares. (2015)
  7. 7.
    Hullin, M., Eisemann, E., Seidel, H.P., Lee, S.: Physically-based real-time lens flare rendering. ACM Trans. Graph. 30(4), 108:1–108:10 (2011). CrossRefGoogle Scholar
  8. 8.
    Hullin, M.B., Hanika, J., Heidrich, W.: Polynomial optics: a construction kit for efficient ray-tracing of lens systems. In: Computer Graphics Forum, vol. 31, pp. 1375–1383. Wiley Online Library (2012)Google Scholar
  9. 9.
    Joo, H., Kwon, S., Lee, S., Eisemann, E., Lee, S.: Efficient ray tracing through aspheric lenses and imperfect bokeh synthesis. In: Computer Graphics Forum, vol. 35, pp. 99–105. Wiley Online Library (2016)Google Scholar
  10. 10.
    Keshmirian, A.: A physically-based approach for lens flare simulation. ProQuest, Ann Arbor (2008)Google Scholar
  11. 11.
    Kilgard, M.J.: Fast opengl-rendering of lens flares. (2000)
  12. 12.
    King, Y.: 2d lens flare. In: DeLoura, M. (ed.) Game Programming Gems, pp. 515–518. Charles River Media, Inc., Rockland (2000)Google Scholar
  13. 13.
    Lee, S., Eisemann, E.: Practical real-time lens-flare rendering. In: Computer Graphics Forum, vol. 32, pp. 1–6. Wiley Online Library (2013)Google Scholar
  14. 14.
    Light, I.: Magic: Openexr. (2014)
  15. 15.
    Mchugh, S.: Understanding camera lens flare from Cambridge in colour. (2005)
  16. 16.
    Pixar: The imperfect lens: creating the look of wall-e. wall-e three-dvd box (2008)Google Scholar
  17. 17.
    Sekulic, D.: Efficient occlusion culling. GPU Gems, pp. 487–503 (2004)Google Scholar
  18. 18.
    Steinert, B., Dammertz, H., Hanika, J., Lensch, H.P.: General spectral camera lens simulation. In: Computer Graphics Forum, vol. 30, pp. 1643–1654. Wiley Online Library (2011)Google Scholar
  19. 19.
    Syrp: Genie mini motion controller. (2016)
  20. 20.
    Tocci, M.: Quantifying veiling glare (zemax users knowledge base). (2007)
  21. 21.
    Towell, J.: A brief history of the most over-used special effect in video games: lens flare. (2012)
  22. 22.
    Wang, Z., Bovik, A.C., Sheikh, H.R., Simoncelli, E.P.: Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image Process. 13, 600–612 (2004)CrossRefGoogle Scholar
  23. 23.
    Woerner, M.: J.j.abrams admits star trek lens flares are ridiculous (interview). (2009)

Copyright information

© Springer-Verlag GmbH Germany, part of Springer Nature 2018

Authors and Affiliations

  1. 1.VRVis Research CenterViennaAustria

Personalised recommendations