Abstract
Ray tracing is a dominant method for generating a wide variety of global illumination effects, such as reflections/refractions, shadows, etc. In this paper, we propose an efficient technique to perform nearly accurate ray tracing using the programmable graphics processor units (GPUs). With the aid of the linked-list A-buffer and the uniform voxel grid to represent scene geometry, the ray-scene intersection can be efficiently computed via the built-in rasterization on GPUs. Based on this novel ray-scene intersection technique, a new ray-tracing framework which supports various light transport algorithms is introduced, including Ray Casting, Whitted Ray tracing, Ambient Occlusion, Path Tracing, and so on. The experimental results demonstrate the accuracy and efficiency of our approach.
Similar content being viewed by others
References
Wald, I., Ize, T., Kensler, A., Knoll, A., Parker, S.: Ray tracing animated scenes using coherent grid traversal. ACM Trans. Graph. 25(3), 485–493 (1999)
Carpenter, L.: The A-buffer, an antialiased hidden surface method. In: Proceedings of the 11th annual conference on computer graphics and interactive techniques (SIGGRAPH’84), pp. 103–108 (1984)
Yang, C., Hensley, J., Grun, H., Thibieroz, N.: Real-time concurrent linked list construction on the gpu. In: Proceedings of the 21st Eurographics conference on Rendering(EGSR’10), pp. 1297–1304 (2010)
Whitted, T.: An improved illumination model for shaded display. Commun. ACM 23(6), 343–349 (1980)
Zhukov, S., Iones, A., Kronin, G.: Proceedings of the Eurographics, Workshop, pp. 45–55 (1998)
Kajiya, J.: The rendering equation. In: Proceedings of the 13th annual conference on Computer graphics and interactive techniques (SIGGRAPH’86), pp. 143–150 (1986)
Wang, R., Wang, R., Zhou, K., Pan, M., Bao, H.: An efficient GPU-based approach for interactive global illumination. ACM Trans. Graph. 28(3), 1–8 (2009) (artical no. 91)
Aila, T., Karras, T.: Architecture considerations for tracing incoherent rays. In: Proceedings of the Conference on High Performance Graphics (HPG’10), pp:112–122 (2010)
Aila, T., Laine, S.: Understanding the efficiency of ray traversal on GPUs. In: Proceedings of the Conference on High Performance Graphics (HPG’09), pp:113–122 (2009)
Zhou, K., Hou, Q., Wang, R. Guo. B.: Real-time KD-tree construction on graphics hardware. ACM Trans. Graph. 27(5), 1–11 (2008) (artical no. 126)
Purcell, T., Buck, I., Mark, W., Hanrahan, P.: Ray tracing on programmable graphics hardware. ACM Trans. Graph. 21(3), 703–712 (2002)
Parker, S., 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 Trans. Graph. 29(4), 1–13 (2010) (artical no. 66)
Umenhoffer, T., Patow, G., Kalos, L.: Robust multiple specular reflections and refractions. GPU Gems 3, 387–407 (2010)
Rosen, P., Popescu, V., Hayward, K., Wyman, C.: Non-pinhole approximations for interactive rendering. IEEE Comput. Graph. Appl. 31(6), 68–83 (2011)
Wyman, C.: Interactive image-space refraction of nearby geometry. In: Proceedings of the 3rd international conference on Computer graphics and interactive techniques in Australasia and South East Asia (GRAPHITE’05), pp. 205–211 (2005)
Kalos, L., Umenhoffer, T.: Specular effects on the GPU: state of the art. Comput. Graph. Forum 28(6), 1586–1617 (2009)
Yao, C., Wang, B., Chan, B., Yong, J., Paul, J.: Multi-image based photon tracing for interactive global illumination of dynamic scenes. Comput. Graph. Forum 29(4), 1315–1324 (2010)
Burger, K., Hertel, S., Kruger, J., Westermann, R.: GPU rendering of secondary effects. In: Proceedings of International Workshop on Vision, Modeling and Visualization (VMV’07), pp. 51–61 (2007)
Niebner, M., Schafer, H., Stamminger, M.: Fast indirect illumination using layered depth images. Vis. Comput. 26(6), 679–686 (2010)
Zhang, C., Hsieh, H, Shen, H.: Real-time reflections on curved objects using layered depth textures. In Proceedings of IADIS International Conference on Computer Graphis and Visualization (2008)
Kaplanyan, A., Dachsbacher, C.: Cascaded light propagation volumes for real-time indirect illumination. In: Proceedings of the 2010 ACM SIGGRAPH symposium on Interactive 3D Graphics and Games (I3D’10), pp. 99–107 (2010)
Thiedemann, S., Henrich, N., Muller, S.: Voxel-based global illumination. In: Proceedings of the 2011 ACM SIGGRAPH symposium on Interactive 3D Graphics and Games (I3D’10), pp. 103–110 (2011)
Papaioannou, G., Menexi, M., Papadopoulos, C.: Real-time volume-based ambient occlusion. IEEE Trans. Vis. Comput. Graph. 16(5), 752–762 (2010)
Laine, S., Karras, T.: Efficient sparse voxel octrees. In: Proceedings of the 2010 ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games (I3D’10), pp. 55–63 (2010)
Crassin, C., Neyret, F., Lefebvre, S., Eisemann, E.: Gigavoxels: ray-guided streaming for efficient and detailed voxel rendering. In: Proceedings of the 2009 symposium on Interactive 3D graphics and games, pp. 15–22 (2009)
Crassin, C., Neyret, F., Sainz, M., Green, S., Eisemann, E.: Interactive indirect illumination using voxel cone tracing. Comput. Graph. Forum 30(7), 1921–1930 (2011)
Novak, J., Dachsbacher, C.: Rasterized bounding volume hierarchies. Comput. Graph. Forum 31(2), 403–412 (2012)
Tokuyoshi, Y., Ogaki, S.: Real-time bidirectional path tracing via rasterization. In: Proceedings of the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games(I3D’12), 183–190 (2012)
Crassin, C., Green, S.: Octree-based sparse voxelization using the GPU hardware rasterizer. In: OpenGL Insights, pp. 303–318 (2012)
Amanatides, J., Woo, A.: A fast voxel traversal algorithm for ray tracing. In: Proceedings of EuroGraphics’87, pp. 3–10 (1987)
Policarpo, F., Oliveira, M., Comba, J.: Real-time relief mapping on arbitrary polygonal surfaces. In: Proceedings of the 2005 symposium on Interactive 3D graphics and games(I3D’05), pp. 155–162 (2005)
Colbert, M., Krivanek, J.: Real-time shading with filtered importance sampling. Comput. Graph. Forum 27(4), 1147–1154 (2008)
Acknowledgments
We would like to thank the anonymous reviewers for their constructive comments. We thank Zhao Dong for his valuable suggestions. This work was supported jointly by Nation Nature Science Foundation of China (No. 61003132) and 973 Program of China (No. 2011CB706900).
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Hu, W., Huang, Y., Zhang, F. et al. Ray tracing via GPU rasterization. Vis Comput 30, 697–706 (2014). https://doi.org/10.1007/s00371-014-0968-8
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00371-014-0968-8