Advertisement

The Visual Computer

, Volume 34, Issue 3, pp 337–346 | Cite as

Real-time dynamic reflections for realistic rendering of 3D scenes

  • Daniel Valente de Macedo
  • Maria Andréia Formico Rodrigues
Original Article

Abstract

Visual effects, such as real-time dynamic reflections, are fundamental for realistic rendering of 3D scenes and walkthrough animations containing multiple moving objects, since they provide the correct identification of their relative distance and of their material properties, generating a closer perception of reality. Most rendering algorithms that generate realistic effects are quite expensive, such as ray tracing, usually used in offline rendering. This paper presents a solution for generating reflections, that we have developed with a real-time hybrid algorithm for rendering rigid objects in realistic dynamic scenes. The algorithm combines rasterization, the screen space reflection (SSR) technique, with pure GPU-ray tracing algorithm through deferred rendering pipeline, doing SSR per pixel and creating a mask with failed pixels to apply ray tracing for those pixels instead. The results demonstrate a significant improvement in performance with a very little perceptual loss in quality of our hybrid algorithm, when compared to the full ray tracing solution. In terms of FPS results, our hybrid solution remains positioned (most of the time) in between the SSR and the pure ray tracing’s methods, during the walkthrough. Besides, it scales quite well for realistic dynamic scenes with 3D rigid objects.

Keywords

Real-time dynamic reflections Realistic rendering 3D scenes 

Notes

Acknowledgements

Daniel Valente de Macedo and Maria Andréia Formico Rodrigues are supported by CAPES and CNPq, under grants No. 157.257/2012-6 and 481.326/2013-8, respectively, and would like to thank for their financial support. In addition, we are also grateful to the referees for providing insightful comments and suggestions to improve the manuscript.

References

  1. 1.
    Macedo, D.V., Rodrigues, M.A.F.: Realistic rendering in 3D walkthroughs with high quality reflections. In: Proceedings of the XIV Brazilian Symposium on Computer Games and Digital Entertainment (SBGames), pp. 9–15 (2015)Google Scholar
  2. 2.
    Andrade, P., Sabino, T., Clua, E.: Towards a heuristic based real time hybrid rendering—a strategy to improve real time rendering quality using heuristics and ray tracing. In: Proceedings of the \(9{th}\) International Conference on Computer Vision Theory and Applications, pp. 12–21 (2014)Google Scholar
  3. 3.
    Bikker, J.: Real-time ray tracing through the eyes of a game developer. In: IEEE Symposium on Interactive Ray Tracing, 2007. RT’07, pp. 1–10 (2007)Google Scholar
  4. 4.
    Blinn, J., Newell, M.: Texture and reflection in computer generated images. Commun. ACM 19(10), 542–547 (1976)CrossRefGoogle Scholar
  5. 5.
    Cabeleira, J.: Combining rasterization and ray tracing techniques to approximate global illumination in real-time. Master’s thesis, Engenharia Informática e de Computadores, Universidade Técnica de Lisboa, Portugal (2010)Google Scholar
  6. 6.
    Carr, N., Hall, J., Hart, J.: The Ray Engine. In: Proceedings of the ACM SIGGRAPH/EUROGRAPHICS Conference on Graphics Hardware, pp. 37–46 (2002)Google Scholar
  7. 7.
  8. 8.
    Games, E.: Unreal Engine 4 (2015). https://www.unrealengine.com/what-is-unreal-engine-4
  9. 9.
    Ganestam, P., Doggett, M.: Real-time multiply recursive reflections and refractions using hybrid rendering. Vis. Comput. 31(10), 1395–1403 (2015)CrossRefGoogle Scholar
  10. 10.
    Greene, N.: Environment mapping and other applications of world projections. IEEE Comput. Graph. Appl. 6(11), 21–29 (1986)CrossRefGoogle Scholar
  11. 11.
    Gregory, J.: Game Engine Architecture. A.K. Peters, New York (2009)Google Scholar
  12. 12.
    Macedo, D.V., Rodrigues, M.A.F.: Real-Time Dynamic Reflections for Realistic Rendering of 3D Scenes. https://youtu.be/OhIn2W4qcLo (2016). Accessed 25 Oct 2016
  13. 13.
    Johnsson, M.: Approximating ray traced reflections using screenspace data. MSc Thesis in Computer Science: Algorithms, Languages and Logic, Chalmers University of Technology (2012)Google Scholar
  14. 14.
    Kim, Y., Seo, W., Kim, Y., Lim, Y., Nah, J., Ihm, I.: Adaptive undersampling for efficient mobile ray tracing. Vis. Comput. 32(6–8), 801–811 (2016)CrossRefGoogle Scholar
  15. 15.
    Mara, M., McGuire, M., Luebke, D.: Lighting deep g-buffers: single-pass, layered depth images with minimum separation applied to indirect illumination. Tech. Rep. NVR-2013-004, NVIDIA Corporation (2013)Google Scholar
  16. 16.
    Mcguire, M.: Efficient GPU screen-space ray tracing. J. Comput. Graph. Techn. 3(4), 73–85 (2014)Google Scholar
  17. 17.
    Miller, G., Hoffman, C.: Illumination and reflection maps: simulated objects in simulated and real environments. In: Proceedings of the 1984 SIGGRAPH—Course Notes on Advanced Computer Graphics Animation, pp. 1–12 (1984)Google Scholar
  18. 18.
  19. 19.
    Parker, S.G., Friedrich, H., Luebke, D., Morley, K., Bigler, J., Hoberock, J., McAllister, D., Robison, A., Dietrich, A., Humphreys, G., McGuire, M., Stich, M.: GPU ray tracing. Commun. ACM 56(5), 93–101 (2013)CrossRefGoogle Scholar
  20. 20.
    Pohl, D.: Wolfenstein: Ray Traced (2014). http://www.wolfrt.de/
  21. 21.
    Popescu, V., Rosen, P.: Forward rasterization. ACM Trans. Graph. 25(2), 375–411 (2006)CrossRefGoogle Scholar
  22. 22.
    Purcell, T., Hanrahan, P., Buck, I., Mark, W.: Ray tracing on programmable graphics hardware. ACM Trans. Graph. 21(3), 703–712 (2002)CrossRefGoogle Scholar
  23. 23.
    Shapiro, L., Stockman, G.: Computer Vision. Prentice Hall, USA (2001)Google Scholar
  24. 24.
    Wald, I., Mark, W., Gunther, J., Boulos, S., Ize, T., Hunt, W., Parker, S., Shirley, P.: State of the art in ray tracing animated scenes. Comput. Graph. Forum (CGF) 28(6), 1691–1722 (2009)CrossRefGoogle Scholar
  25. 25.
    Wang, Z., Bovik, A., Sheikh, H., Simoncelli, E.: Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image Process. 13(4), 600–612 (2004)CrossRefGoogle Scholar
  26. 26.
    Whitted, T.: An improved illumination model for shaded display. Commun. ACM 23(6), 343–349 (1980)CrossRefGoogle Scholar
  27. 27.
    Widmer, S., Pajak, D., Schulz, A., Pulli, K., Kautz, J., Goesele, M., Luebke, D.: An adaptive acceleration structure for screen-space ray tracing. In: Proceedings of the \(7{th}\) Conference on High-Performance Graphics, pp. 67–76 (2015)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2016

Authors and Affiliations

  • Daniel Valente de Macedo
    • 1
  • Maria Andréia Formico Rodrigues
    • 1
  1. 1.Programa de Pós-Graduação em Informática Aplicada (PPGIA)Universidade de Fortaleza (UNIFOR)FortalezaBrazil

Personalised recommendations