期刊文献+

真实感眩光效果实时绘制 被引量:5

Rendering Realistic Glare in Real-Time
在线阅读 下载PDF
导出
摘要 针对现有眩光效果绘制方法的真实感和速度问题,提出一种基于GPU的真实感眩光效果绘制方法.首先根据光圈和镜头生成带有随机镜头噪声的二维衍射光栅图像;其次考虑夫琅禾费和菲涅耳2种不同的衍射效果,利用预存算法系数的快速傅里叶变换模拟衍射效果的光学过程,并通过衍射效果的光谱模型实现真实感绘制,同时利用2个独立的一维高斯卷积核加速实现bloom效果;再通过随机小角度旋转和混合操作进行真实感增强;最后采用实时光线跟踪渲染框架,在三维场景中实现了真实感眩光效果的实时绘制.该方法的主要步骤采用CUDA实现,充分利用了GPU强大的并行计算能力并兼顾考虑存储器优化策略.实验结果表明,文中方法绘制结果具有较强的真实感和实时性. To address the problems of current realistic glare rendering approaches, this paper presents a GPU based real-time method for rendering realistic glare. Firstly, the diffraction grating with random lens noise is efficiently generated according to lens aperture. Secondly, based on diffraction principle, a fast Fourier transformation algorithm with pre-computed coefficients is employed to simulate both Fraunhofer and Fresnel diffraction, and a spectrum model is used to achieve photorealistic rendering and two independent one-dimension Gaussian kernels are introduced to achieve bloom effect. Thirdly, we apply random small rotation operations and blend operations to enhance the photorealism. Finally, the glare effect can be added into a three-dimensional scene with the new glare rendering approach integrated into a real-time ray tracing framework. Our method is implemented on CUDA architecture and efficiently utilizes the powerful GPU parallel processing capability and memory hierarchy. Experimental results show that our method can achieve real-time performance and improve realism of scenes.
出处 《计算机辅助设计与图形学学报》 EI CSCD 北大核心 2013年第6期880-889,共10页 Journal of Computer-Aided Design & Computer Graphics
基金 国家"八六三"高技术研究发展计划(2009AA01Z303)
关键词 眩光效果 夫琅禾费衍射 菲涅耳衍射 GPU 实时绘制 glare effect Fraunhofer diffraction Fresnel diffraction GPU real-time rendering
  • 相关文献

参考文献18

  • 1Nakamae E, Kaneda K. Okamoto T, et al . A lighting model aiming at drive simulators[CJ IIComputer Graphics Proceedings. Annual Conference Series. ACM SIGGRAPH. New York: ACM Press.J990: 395-404.
  • 2Spencer G, Shirley P. Zimmerman K. et al , Physically-based glare effects for digital images[CJ IIComputer Graphics Proceedings, Annual Conference Series. ACM SIGGRAPH. New York: ACM Press. 1995: 325-334.
  • 3Keshmirian A. A physically-based approach for lens flare simulation[0]. San Diego: University of California. 2008.
  • 4Moravec H P. 3D graphics and the wave theory[CJ II Computer Graphics Proceedings. Annual Conference Series. ACM SIGGRAPH. New York: ACM Press. 1981: 289-296.
  • 5Kakimoto M, Matsuoka K, Nishita T, et al. Glare generation based on wave optics[C] //Proceedings of the Computer Graphics and Applications. Washington D C: IEEE Computer Society Press, 2004: 133-142.
  • 6Ritschel T, Ihrke M, FrisvadJ R, et al . Temporal glare: real-time dynamic simulation of the scattering in the human eye[J]. Computer Graphics Forum, 2009, 28(2): 183-192.
  • 7Hullin M, Eisemann E, Seidel H r. et al . Physically-based real-time lens flare rendering[CJ / /Computer Graphics Proceedings, Annual Conference Series, ACM SIGGRAPH. New York: ACM Press, 2011: Article No. 108.
  • 8SandersJ, Kandrot E. CUDA by example: an introduction to general-purpose GPU programming[M]. Beijing: Tsinghua University Press, 2010.
  • 9吴恩华,柳有权.基于图形处理器(GPU)的通用计算[J].计算机辅助设计与图形学学报,2004,16(5):601-612. 被引量:228
  • 10GoodmanJW.傅里叶光学导论[M].秦克诚,刘培森,陈家璧,等译.3版.北京:电子工业出版社,2011:44-66.

二级参考文献57

  • 1Clark James H.The geometry engine:A VLSI geometry system for graphics[A].In:Computer Graphics Proceedings,Annual Conference Series,ACM SIGGRAPH,Boston,1982.127~133
  • 2Fuchs Herry,Poulton John.Pixel-planes:A VLSI-Oriented design for a raster graphics engine[J].VLSI Design,1981,2(3):20~28
  • 3Eyles John,Austin John,Fuchs Henry,et al.Pixel-plane 4:A summary,advances in computer graphics hardware II[A].Eurographic Seminars Tutorials and Perspectives in Computer Graphics,New York:Springer-Verlag,1988.183~208
  • 4Fuchs Herry,Israel Laura,Poulton John,et al.Pixel-planes 5:A heterogeneous multiprocessor graphics system using processor-enhanced memories[A].In:Computer Graphics Proceedings,Annual Conference Series,ACM SIGGRAPH,Boston,1989.79~88
  • 5http://www.nvidia.com/object/gpu.html[OL]
  • 6http://developer.nvidia.com/[OL]
  • 7http://www.ati.com/developer/[OL]
  • 8http://www.gpgpu.org[OL]
  • 9Joo Luiz Dihl Comba,Dietrich Carlos A,Pagot Christian A,et al.Computation on GPUs:From a programmable pipeline to an efficient stream processor[J].Revista de Informática Teóricae Aplicada,2003,X(2):41~70
  • 10Krüger Jens,Westermann Rüdiger.Linear algebra operators for GPU implementation of numerical algorithms[J].ACM Transactions on Graphics,2003,22(3):908~916

共引文献228

同被引文献34

  • 1杨公侠,杨旭东.不舒适眩光与不舒适眩光评价[J].照明工程学报,2006,17(2):11-15. 被引量:35
  • 2梁华秋,冯尚申,张永炬,罗良进.正方形小孔方阵夫琅禾费衍射光强分布[J].台州学院学报,2007,29(3):37-39. 被引量:9
  • 3Chaumond J. Physically realistic camera model[OL]. [2014-04-01]. http://graphics.stanford.edu/courses/cs348b-competition/cs348b-07.
  • 4Keshmirian A. A physically-based approach for lens flare si- mulation[D]. San Diego: University of California, San Diego. Computer Science and Engineering, 2008.
  • 5Hullin M, Eisemann E, Seidel H P, et al. Physically-based real-time lens flare rendering[C] //Computer Graphics Pro- ceedings, Annual Conference Series, ACM SIGGRAPH. New York: ACM Press, 2011: Article No. 108.
  • 6Kolb C, Mitchell D, Hanrahan E A realistic camera model for computer graphics[C] //Proceedings of the 22nd Annual Con- ference on Computer Graphics and Interactive Techniques. New York: ACM Press, 1995:317-324.
  • 7Cook R L, Porter T, Carpenter L. Distributed ray tracing[C] //Proceedings of the llth Annual Conference on Computer Graphics and Interactive Techniques. New York: ACM Press, 1984:137-145.
  • 8Kilgard M J. Fast OpenGL-rendering of lens flares[OL]. [2014-04-01]. http://www.opengl.org/archives/resources/features/KilgardTechniques/ LensFlare.
  • 9King Y. 2D lens flare[M]//DeLoura M A. Game programming gems. Rockland: Charles River Media, 2000:515-518.
  • 10Maughan C. Texture masking for faster lens flare[M]//DeLoura M A. Game programming gems 2. Hingham: Charles River Media, 2001:474-480.

引证文献5

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部