›› 2013, Vol. 28 ›› Issue (3): 490-498.doi: 10.1007/s11390-013-1350-4

Special Issue: Artificial Intelligence and Pattern Recognition; Computer Graphics and Multimedia

• Graphics, Visualization, and Image Processing • Previous Articles     Next Articles

Interactive Depth-of-Field Rendering with Secondary Rays

Guo-Fu Xie1,2 (谢国富), Member, ACM, Xin Sun3 (孙鑫), Member, ACM, and Wen-Cheng Wang1 (王文成), Member, CCF   

  1. 1. State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;
    2. University of Chinese Academy of Sciences, Beijing 100049, China;
    3. Microsoft Research Asia, Beijing 100080, China
  • Received:2012-05-06 Revised:2012-09-18 Online:2013-05-05 Published:2013-05-05
  • Contact: 10.1007/s11390-013-1350-4
  • Supported by:

    This work was partly supported by the National Natural Science Foundation of China under Grant Nos. 60773026 and 60833007, and the Knowledge Innovation Program of the Chinese Academy of Sciences.

This paper presents an efficient method to trace secondary rays in depth-of-field (DOF) rendering, which significantly enhances realism. Till now, the effects by secondary rays have been little addressed in real-time/interactive DOF rendering, because secondary rays have less coherence than primary rays, making them very difficult to handle. We propose novel measures to cluster secondary rays, and take a virtual viewpoint to construct a layered image-based representation for the objects that would be intersected by a cluster of secondary rays respectively. Therefore, we can exploit coherence of secondary rays in the clusters to speed up tracing secondary rays in DOF rendering. Results show that we can interactively achieve DOF rendering effects with reflections or refractions on a commodity graphics card.

[1] Rokita P. Generating depth-of-field effects in virtual reality applications. IEEE Computer Graphics and its Applications, 1996, 16(2): 18-21.

[2] Scheuermann T. Advanced depth of field. http://developer. amd.com/wordpress/media/2012/10/Scheuermann DepthOfField.pdf, July 2012.

[3] Hammon J E. Practical post-process depth of field. In GPU Gems 3, Nyuyen H (ed.), Addison-Wesley Professional, 2007: 583-606. http://http.developer.nvidia.com/GPUGems3/gpugems3 ch28.html, July 2012.

[4] Zhou T, Chen J, Pullen M. Accurate depth of field simulation in real time. Computer Graphics Forum, 2007, 26(1): 15-23.

[5] Lee S, Kim G J, Choi S. Real-time depth-offield rendering using anisotropically filtered mipmap interpolation. IEEE Trans. Visualization and Comput. Graphics, 2009, 15(3): 453-464.

[6] Cook R L, Porter T, Carpenter L. Distributed ray tracing. ACM SIGGRAPH Computer Graphics, 1984, 18(3): 137-145.

[7] Haeberli P, Akeley K. The accumulation bu?er: Hardware support for high-quality rendering. ACM SIGGRAPH Computer Graphics, 1990, 24(4): 309-318.

[8] Lee S, Eisemann E, Seidel H P. Depth-of-field rendering with multiview synthesis. ACM Transactions on Graphics, 2009, 28(5): Article No.134.

[9] Lee S, Eisemann E, Seidel H P. Real-time lens blur effects and focus control. ACM Trans. Graphics, 2010, 29(4): Article No.65.

[10] Hou Q, Qin H, Li W, Guo B, Zhou K. Micropolygon ray tracing with defocus and motion blur. ACM Transactions on Graphics, 2010, 29(4): Article No.64.

[11] Hou Q M, Sun X, Zhou K et al. Memory-scalable GPU spatial hierarchy construction. IEEE Trans. Visualization and Computer Graphics, 2011, 17(4): 466-474.

[12] Potmesil M, Chakravarty I. A lens and aperture camera model for synthetic image generation. ACM SIGGRAPH Computer Graphics, 1981, 15(3): 297-305.

[13] Fatahalian K, Luong E, Boulos S et al. Data-parallel rasterization of micropolygons with defocus and motion blur. In Proc. HPG, Aug. 2009, pp.59-68.

[14] Yu X, Wang R, Yu J. Real-time depth of field rendering via dynamic light field generation and filtering. Computer Graphics Forum, 2010, 29(7): 2099-2107.

[15] Barsky B, Bargteil A, Garcia D, Klein S. Introducing visionrealistic rendering. In Proc. the 13th EGWR, Jun. 2002.

[16] Kraus M, Strengert M. Depth-of-field rendering by pyramidal image processing. Computer Graphics Forum, 2007, 26(3): 645-654.

[17] Kass M, Lefohn A, Owens J. Interactive depth of field using simulated diüsion on a GPU. Technical Report, Pixar Animation Studios, 2006.

[18] Kosloff T, Barsky B. An algorithm for rendering generalized depth of field effects based on simulated heat diüsion. In Proc. the 2007 ICCSA, Aug. 2007, pp.1124-1140.

[19] Lee S, Kim, G J, Choi S. Real-time depth-of-field rendering using splatting on per-pixel layers. Computer Graphics Forum, 2008, 27(7): 1955-1962.

[20] Kosloff T J, TaoMW, Barsky B A. Depth of field postprocessing for layered scenes using constant-time rectangle spreading. In Proc. Graphics Interface, May 2009, pp.39-46.

[21] Barsky B, Tobias M, Chu D et al. Elimination of artifacts due to occlusion and discretization problems in image space blurring techniques. Graphical Models, 2005, 67(6): 584-599.

[22] Chen J, Wang B, Wang Y et al. Efficient depth-of-field rendering with adaptive sampling and multiscale reconstruction. Computer Graphics Forum, 2011, 30(6): 1667-1680.

[23] Lehtinen J, Aila T, Chen J, Laine S, Durand F. Temporal light field reconstruction for rendering distribution effects. ACM Transactions on Graphics, 2011, 30(4): Article No.55.

[24] Laine S, Aila T, Karras T, Lehtinen J. Clipless dual-space bounds for faster stochastic rasterization. ACM Transactions on Graphics, 2011, 30(4): Article No.106.

[25] Ragan-Kelley J, Lehtinen J, Chen J, Doggett M, Durand F. Decoupled sampling for graphics pipelines. ACM Transactions on Graphics, 2011, 30(3): Article No.17.

[26] Roger D, Assarsson U, Holzschuch N. Whitted ray-tracing for dynamic scenes using a ray-space hierarchy on the GPU. In Proc. the 18th EGSR, Jun. 2007, pp.99-110.

[27] Rosen P, Popescu V, Hayward K, Wyman C. Non-pinhole approximations for interactive rendering. IEEE Computer Graphics and Its Applications, 2011, 31(6): 68-83.

[28] Popescu V, Sacks E, Mei C. Sample-based cameras for feed forward reflection rendering. IEEE Transactions on Visualization and Computer Graphics, 2006, 12(6): 1590-1600.

[29] D?ecoret X. N-bu?ers for efficient depth map query. Computer Graphics Forum, 2005, 24(3): 393-400.

[30] Liu F, Huang M, Liu X et al. Efficient depth peeling via bucket sort. In Proc. HPG, Aug. 2009, pp.51-57.
No related articles found!
Full text



[1] Liu Mingye; Hong Enyu;. Some Covering Problems and Their Solutions in Automatic Logic Synthesis Systems[J]. , 1986, 1(2): 83 -92 .
[2] Chen Shihua;. On the Structure of (Weak) Inverses of an (Weakly) Invertible Finite Automaton[J]. , 1986, 1(3): 92 -100 .
[3] Gao Qingshi; Zhang Xiang; Yang Shufan; Chen Shuqing;. Vector Computer 757[J]. , 1986, 1(3): 1 -14 .
[4] Chen Zhaoxiong; Gao Qingshi;. A Substitution Based Model for the Implementation of PROLOG——The Design and Implementation of LPROLOG[J]. , 1986, 1(4): 17 -26 .
[5] Huang Heyan;. A Parallel Implementation Model of HPARLOG[J]. , 1986, 1(4): 27 -38 .
[6] Min Yinghua; Han Zhide;. A Built-in Test Pattern Generator[J]. , 1986, 1(4): 62 -74 .
[7] Tang Tonggao; Zhao Zhaokeng;. Stack Method in Program Semantics[J]. , 1987, 2(1): 51 -63 .
[8] Min Yinghua;. Easy Test Generation PLAs[J]. , 1987, 2(1): 72 -80 .
[9] Zhang Bo; Zhang Ling;. Statistical Heuristic Search[J]. , 1987, 2(1): 1 -11 .
[10] Zhu Hong;. Some Mathematical Properties of the Functional Programming Language FP[J]. , 1987, 2(3): 202 -216 .

ISSN 1000-9000(Print)

CN 11-2296/TP

Editorial Board
Author Guidelines
Journal of Computer Science and Technology
Institute of Computing Technology, Chinese Academy of Sciences
P.O. Box 2704, Beijing 100190 P.R. China
E-mail: jcst@ict.ac.cn
  Copyright ©2015 JCST, All Rights Reserved