计算机科学 ›› 2024, Vol. 51 ›› Issue (6): 223-230.doi: 10.11896/jsjkx.230300097

• 计算机图形学&多媒体 • 上一篇    下一篇

基于自适应光子和分层色散图的实时色散渲染方法

罗元孟, 张军   

  1. 江南大学人工智能与计算机学院 江苏 无锡 214122
  • 收稿日期:2023-03-13 修回日期:2023-06-24 出版日期:2024-06-15 发布日期:2024-06-05
  • 通讯作者: 张军(zhangjunman@jiangnan.edu.cn)
  • 作者简介:(602162237@qq.com)

Real-time Dispersion Rendering Method Based on Adaptive Photons and Hierarchical Dispersion Map

LUO Yuanmeng, ZHANG Jun   

  1. School of Artificial Intelligence and Computer,Jiangnan University,Wuxi,Jiangsu 214122,China
  • Received:2023-03-13 Revised:2023-06-24 Online:2024-06-15 Published:2024-06-05
  • About author:LUO Yuanmeng,born in 1996,postgraduate.His main research interests include computer graphics and virtual reality.
    ZHANG Jun,born in 1978,Ph.D,asso-ciate professor.His main researchin-terests include data visualization,computer simulation,computer graphics and avionics,etc.

摘要: 焦散是光线经过反射或折射后汇集形成的高亮区域现象,色散是由于折射焦散中不同波长的单色光折射率差异而出现的彩色光谱现象,是渲染逼真半透明物体时复杂和耗时的光照计算步骤。在渲染色散时,现有光线追踪技术必须依赖高端GPU硬件才能实现实时渲染。基于图像空间的焦散图技术,文中提出一种简洁、高效的实时色散渲染方法。提出了采样7个单色光并自适应调整7色光子尺寸的方法,用于近似整条色散光谱的渲染;并提出了分层色散图策略,避免了光子光栅化尺寸的增加,提高了渲染效率。实验结果表明,所提方法在个人电脑上可做到实时渲染,以离散采样光谱的7个单色光模拟了整条连续光谱,减少了渲染的计算量和存储量,并且改善了基于图像空间技术的噪点问题。

关键词: 色散, 实时渲染, 图像空间技术, 光谱, 焦散

Abstract: Caustic is the bright phenomenon formed when light rays gather in an area after reflection or refraction.Dispersion is a color spectrum phenomenon that occurs due to the difference in refractive index of monochromatic light of different wavelengths in refractive caustic,and is a complex and time-consuming lighting calculation step when rendering realistic translucent objects.Existing ray tracing techniques must rely on high-end GPU hardware for real-time dispersion rendering.Based on the image-space caustic map technique,a simple and efficient real-time dispersion rendering method is proposed in the paper,in which the method of sampling 7 monochromatic lights and adaptively resizing 7 color photons is proposed for rendering the approximate whole dispersion spectrum.The hierarchical dispersion map strategy is proposed to improve the rendering efficiency by avoiding the increase of photon rasterization size.Experimental results show that the proposed method can achieve real-time rendering on PC,and the whole continuous spectrum is simulated with 7 monochromatic lights of discrete sampling spectrum,which reduces the calculation and storage of rendering,and improves the noise problem based on the image-space technique.

Key words: Dispersion, Real-time rendering, Image-space technique, Spectrum, Caustic

中图分类号: 

  • TP391
[1]JENSEN H W.Global illumination using photon maps[C]//Proceedings of the Eurographics Workshop on Rendering Techniques.Berlin:Springer-Verlag,1996:21-30.
[2]DEVELOPER NVIDIA.Nvidia RTX ray tracing[EB/OL].(2018-12-22)[2023-02-09].https://developer.nvidia.com/rtx/raytracing.
[3]WYMAN C,DAVIS S.Interactive image-space techniques for approximating caustics[C]//Proceedings of the 2006 Sympo-sium on Interactive 3D Graphics and Games.New York:Association for Computing Machinery,2006:153-160.
[4]WYMAN C,NICHOLS G.Adaptive caustic maps using deferred shading[J].Computer Graph Forum,2009,28(2):309-318.
[5]WYMAN C.Hierarchical caustic maps[C]//Proceedings of the 2008 Symposium on Interactive 3D Graphics and Games.New York:Association for Computing Machinery,2008:163-171.
[6]JENSEN H W,CHRISTENSEN P H.Efficient simulation oflight transport in scenes with participating media using photon maps[C]//Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques.New York:Association for Computing Machinery,1998:311-320.
[7]GRITTMANN P,PÉRARD-GAYOT A,SLUSALLEK P,et al.Efficient caustic rendering with lightweight photon mapping[J].Computer Graph Forum,2018,37(4):133-142.
[8]FOLEY T,SUGERMAN J.KD-tree acceleration structures for a GPU raytracer[C]//Proceedings of the ACM SIGGRAPH/Eurographics Conference on Graphics Hardware.New York:Association for Computing Machinery,2005:15-22.
[9]WYMAN C,DACHSBACHER C.Improving image-space caus-tics via variable-sized splatting[J].Graph Tools,2006,13(4):1-17.
[10]KIM H.Ray tracing gems:high-quality and real-time rendering with DXR and other APIs[M]//Berkeley.CA:Apress,2019:543-555.
[11]DEVELOPER NVIDIA.Nvidia real-time denoisers[EB/OL].(2018-12-22)[2023-02-09].https://developer.nvidia.com/rtx/ray-tracing/rt-denoisers.
[12]MARIMONT D H,WANDELL B A.Linear models of surface and illuminant spectra[J].Journal of the Optical Society of America A-Optics Image Science and Vision,1992,9(11):1905-1913.
[13]CHERN J R,WANG C M.A novel progressive refinement algorithm for full spectral rendering[J].Real Time Imaging,2005,11(2):117-127.
[14]ZEGHERS E,CARR S,BOUATOUCH K.Error-bound wavelength selection for spectral rendering[J].Visual Computer,1998,13(9/10):424-434.
[15]ELEK O,BAUSZAT P,RITSCHEL T,et al.Spectral ray diffe-rentials[C]//Proceedings of the 25th Eurographics Symposium on Rendering.Goslar:Eurographics Association,2014:113-122.
[16]TANDIANUS B,JOHAN H,SEAH H S,et al.Spectral caustic rendering of a homogeneous caustic object based on wavelength clustering and eye sensitivity[J].Visual Computer,2015,31(12):1601-1614.
[17]BLANCHETTE D,AGU E.Real-time dispersive refraction with adaptive spectral mapping[J].International Journal on Artificial Intelligence Tools,2013,22(6):1-20.
[18]IEHL J,PROCHE B.Adaptive spectral rendering with a perceptual control[J].Computer Graphics Forum,2000,19(3):291-299.
[19]TEAM DXR.Announcing microsoft directX Raytracing[EB/OL].(2018-11-20)[2023-02-09].https://devblogs.microsoft.com/directx/announcing-microsoft-directx-raytracing.
[20]DEVELOPER NVIDIA.Generating Ray-Traced Caustics Ef-fects in Unreal Engine4[EB/OL].(2020-12-08)[2023-02-09].https://developer.nvidia.co-m/blog/generati-ng-ray-traced-caustic-effects-in-unreal-engine-4-part-1.
[21]YANG F,WÜNSCHE B C,MACDONALD B.Real-time Caustics and Dispersion on Arbitrary Surfaces in GPU-Accelerated Ray Tracing[C]//36th International Conference on Image and Vision Computing New Zealand.New York:IEEE Press,2021:1-6.
[22]MUSGRAVE F K.Prims and rainbows:A dispersion model for computer graphics[C]//Proceedings of the Graphics Interface.Canada:Canadian Information Processing Soc,1989:227-234.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!