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