A Hybrid GPU Rasterized and Ray Traced Rendering Pipeline for Real Time Rendering of Per Pixel Effects

  • Thales Luis Sabino
  • Paulo Andrade
  • Esteban Walter Gonzales Clua
  • Anselmo Montenegro
  • Paulo Pagliosa
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7522)


Rendering in 3D games typically uses rasterization approaches in order to guarantee interactive frame rates, since ray tracing, a superior method for rendering photorealistic images, has greater computational cost. With the advent of massively parallel processors in the form of GPUs, parallelized ray tracing have been investigated as an alternative to rasterization techniques. While many works present parallelization methods for the classical ray tracing algorithm, in order to achieve interactive, or even real time ray tracing rendering, we present a rasterized and ray traced hybrid technique, completely done in GPU. While a deferred render model determines the colors of primary rays, a ray tracing phase compute other effects such as specular reflection and transparency, in order to achieve effects that are not easily obtained with rasterization. We also present a heuristic approach that select a subset of relevant objects to be ray traced, avoiding traversing rays for objects that might not have a significant contribution to the real time experience. This selection is capable of maintaining the real time requirement of games, while offering superior visual effects.


ray tracing rasterization OptiX CUDA GPU hybrid rendering OpenGL GLSL real-time global illumination effects deferred shading 


  1. 1.
    Kirk, D.B., Hwu, W.M.W.: Programming Massively Parallel Processors: A Hands-on Approach, 1st edn. Morgan Kaufmann Publishers Inc., San Francisco (2010)Google Scholar
  2. 2.
    Bigler, J., Stephens, A., Parker, S.G.: Design for parallel interactive ray tracing systems. In: IEEE Symposium on Interactive Ray Tracing 2006, pp. 187–196 (September 2006)Google Scholar
  3. 3.
    Aila, T., Laine, S.: Understanding the efficiency of ray traversal on gpus. In: Proc. High-Performance Graphics 2009, pp. 145–149 (2009)Google Scholar
  4. 4.
    Lauterbach, C., Garland, M., Sengupta, S., Luebke, D., Manocha, D.: Fast BVH Construction on GPUs. Computer Graphics Forum 28(2), 375–384Google Scholar
  5. 5.
    Hachisuka, T.: Ray tracing on graphics hardware. Technical report, University of California at San Diego (2009)Google Scholar
  6. 6.
    Heirich, A., Arvo, J.: A competitive analysis of load balancing strategies for parallel ray tracing. The Journal of Supercomputing 12, 57–68 (1998), doi:10.1023/A:1007977326603CrossRefGoogle Scholar
  7. 7.
    Whitted, T.: An improved illumination model for shaded display. Commun. ACM 23, 343–349 (1980)CrossRefGoogle Scholar
  8. 8.
    Beck, S., Bernstein, A., Danch, D., Frohlich, B.: Cpu-gpu hybrid real time ray tracing framework (2005)Google Scholar
  9. 9.
    Bikker, J.: Real-time ray tracing through the eyes of a game developer. In: Proceedings of the 2007 IEEE Symposium on Interactive Ray Tracing, pp. 1–10. IEEE Computer Society, Washington, DC (2007)Google Scholar
  10. 10.
    Parker, S.G., Bigler, J., Dietrich, A., Friedrich, H., Hoberock, J., Luebke, D., McAllister, D., McGuire, M., Morley, K., Robison, A., Stich, M.: Optix: A general purpose ray tracing engine. ACM Transactions on Graphics (August 2010)Google Scholar
  11. 11.
    Bak, P.: Real time ray tracing. Master’s thesis, IMM, DTU (2010)Google Scholar
  12. 12.
    Chen, C.C., Liu, D.S.M.: Use of hardware z-buffered rasterization to accelerate ray tracing. In: Proceedings of the 2007 ACM Symposium on Applied Computing, SAC 2007, pp. 1046–1050. ACM, New York (2007)Google Scholar
  13. 13.
    Deering, M., Winner, S., Schediwy, B., Duffy, C., Hunt, N.: The triangle processor and normal vector shader: a vlsi system for high performance graphics, pp. 21–30. ACM, New York (1988)Google Scholar
  14. 14.
    Akenine-Möller, T., Haines, E., Hoffman, N.: Real-Time Rendering, 3rd edn. A. K. Peters, Ltd., Natick (2008)Google Scholar
  15. 15.
    Saito, T., Takahashi, T.: Comprehensible rendering of 3-d shapes. SIGGRAPH Comput. Graph. 24(4), 197–206 (1990)CrossRefGoogle Scholar
  16. 16.
    Shishkovtov, O.: Deffered shading in s.t.a.l.k.e.r. GPU Gems 2 2, 143–166 (2005)Google Scholar
  17. 17.
    Reshetov, A.: Morphological antialiasing. In: Proceedings of the 2009 ACM Symposium on High Performance Graphics (2009)Google Scholar
  18. 18.
    Williams, L.: Casting curved shadows on curved surfaces. In: Computer Graphics (SIGGRAPH 1978 Proceedings), pp. 270–274 (1978)Google Scholar
  19. 19.
    Bikker, J.: Brigade: Real-time path tracer. Webpage (April 2012)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2012

Authors and Affiliations

  • Thales Luis Sabino
    • 1
  • Paulo Andrade
    • 1
  • Esteban Walter Gonzales Clua
    • 1
  • Anselmo Montenegro
    • 1
  • Paulo Pagliosa
    • 2
  1. 1.Universidade Federal FluminenseNiterói - Rio de JaneiroBrazil
  2. 2.Universidade Federal do Mato Grosso do SulMato Grosso do SulBrazil

Personalised recommendations