Abstract
The objective of this paper is to adapt photon mapping for real-time simulation of caustics. High-performance algorithm adapted for the GPU and implemented on the basis of cross-platform OpenGL and OpenCL APIs is proposed. For effective rendering of caustics and generation of photon map OpenGL shaders are used. Voxel acceleration structure constructed directly on the GPU by means of OpenCL provides fast access to photon map. Performance estimation for different equipment is given.
Similar content being viewed by others
References
Rushmeier, H., Banks, D., and Shirley, P., A Basic Guide to Global Illumination (SIGGRAPH 98, Course 5).
Jensen, H. W., Realistic Image Synthesis Using Photon Mapping (AK Peters. Ltd., Massachusetts, 2001).
Purcell, T. J., Donner, C., Cammarano, M., Wann Jensen, H., and Hanrahan, P. “Photon Mapping on Programmable Graphics Hardware,” in Proceedings of the ACM SIGGRAPH/EUROGRAPHICS Conference, 2003, pp. 41–50.
Fleisz, M., “Photon Mapping on the GPU,” Master’s Thesis (School of Informatics, University of Edinburgh, 2009).
Fabianowski, B. and Dingliana, J., “Interactive Global Photon Mapping,” in Computer Graphics Forum, 2009, vol. 28,issue 4, pp. 1151–1159.
Shah, M. A., Konttinen, J., Pattanaik, S. N., “Caustics Mapping: An Image-Space Technique for Real-Time Caustics,” IEEE Trans. Visualization Comput. Graphics 13(2), 272–280 (2007); http://graphics.cs.ucf.edu/caustics/final.pdf.
Kessenich, J., Baldwin, D. and Rost, R. The OpenGL Shading Language (Revision 8, 2006); http://www.opengl.org/registry/doc/GLSLangSpec.Full.1.20.8.pdf.
Khronos OpenCL Working Group, The OpenCL Specification (Version 1.0, Document Revision 29, Last Revision Date 12/8/08); http://www.khronos.org/registry/cl/specs/opencl-1.0.29.pdf.
Specs of ARB_texture_rectangle extension (Revision 1.21, 2005); http://www.opengl.org/registry/specs/ARB/texture-rectangle.txt.
ATI Stream Computing OpenCL Programming Guide (Revision 1.05, 2010); http://developer.amd.com/gpu/ATIStreamSDK/assets/ATI-Stream-SDK-OpenCL-Programming-Guide.pdf.
NVIDIA OpenCL Best Practices Guide (2010); http://developer.download.nvidia.com/compute/cuda/3-2prod/toolkit/docs/OpenCL-Best-Practices-Guide.pdf.
Ryan Geiss, Metaballs (Blobs) (3/10/2000); http://www.geisswerks.com/ryan/BLOBS/blobs.html
Author information
Authors and Affiliations
Corresponding author
Additional information
Original Russian Text © D.K. Bogolepov, D.P. Sopin, V.E. Turlapov, 2011, published in Programmirovanie, 2011, Vol. 37, No. 5.
The article was translated by the authors.
Rights and permissions
About this article
Cite this article
Bogolepov, D.K., Sopin, D.P. & Turlapov, V.E. Simplified photon mapping for real-time caustics rendering. Program Comput Soft 37, 229–235 (2011). https://doi.org/10.1134/S036176881105001X
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1134/S036176881105001X