计算机科学 ›› 2023, Vol. 50 ›› Issue (6): 236-242.doi: 10.11896/jsjkx.220500070
卢春海, 徐新海, 张帅, 李豪
LU Chunhai, XU Xinhai, ZHANG Shuai, LI Hao
摘要: 为了在智能无人机集群仿真中构建逼真的仿真环境,需要考虑基于气象数据对云进行建模与渲染。而当前基于真实气象数据的云模拟大多采用物理建模方法,如求解NS方程和粒子系统方法,这些方法为繁重的微积分方程求解任务所累,存在因计算量大而无法在大规模场景下实现实时仿真的缺点。针对该问题,提出了一种使用气象数据生成纹理与多噪声融合的体积云建模方法,并将气象数据与高度相关函数相结合来定义云的形状和密度在高度上的变化,有效地将气象数据与非物理建模方法进行结合。渲染时采用光线步进算法从视线方向和朝向太阳两个方向累积云的密度,结合光的吸收和散射定律计算每个样本点的颜色与透明度,最终绘制成云。实验结果表明,模拟出的体积云与气象数据中的云层信息较为一致,效率高,且在形态和颜色上都接近真实的云。
中图分类号:
[1]ZHANG X Y.Construction of simulated battlefield test environ-ment based on Unity3D and VR technology[D].Xi'an:Xidian University,2020. [2]GARDNER G Y.Visual Simulation of Clouds[J].SIGGRAPH Computer Graphics,1985,19(3):297-304. [3]LEWIS J P.Algorithms for Solid Noise Synthesis[C]//Procee-dings of the 16th Annual Conference on Computer Graphics and Interactive Techniques.ACM,1989:263-270. [4]PERLIN K.Noise hardware[C]//Real-Time Shading SIG-GRAPH Course Notes.2001:1-24. [5]JOSHUA S,JOSEPH S,DAVID S E,et al.A real-time cloud modeling,rendering,and animation system[C]//Proceedings of the 2003 ACM SIGGRAPH/Eurographics Symposium on Computer Animation.Eurographics Association,Switzerland.2003:160-166. [6]SCHNEIDER A,VOS N.The real-time volumetric cloudscapes of horizon:Zero dawn[EB/OL].http://advances.realtimerendering.com/s2015/The%20Real-time%20Volumetric%20Cloud-scapes%20of%20Horizon%20-%20Zero%20Dawn%20-%20ARTR.pdf. [7]HARRIS M J,BAXTER W V,SCHEUERMANN T,et al.Si-mulation of Cloud Dynamics on Graphics Hardware[C]//Proceedings of the ACM SIGGRAPH/Eurographics Conference on Graphics Hardware.Eurographics Association,2003:92-101. [8]DOBASHI Y,KANEDA K,YAMASHITA H,et al.A Simple,Efficient Method for Realistic Animation of Clouds[C]//Proceedings of the 27th Annual Conference on Computer Graphics and Interactive Techniques.ACM Press/Addison-Wesley Publishing Co.,2000:19-28. [9]MIYAZAKI R,YOSHIDA S,DOBASHI Y,et al.A Method forModeling Clouds Based on Atmospheric Fluid Dynamics[C]//Proceedings of the Ninth Pacific Conference on Computer Graphics and Applications.IEEE,2001:363-372. [10]NES G.Physically plausible weather visualization[D].Bergen:University of Bergenjune,2008. [11]GOSWAMI P,NEYRET F.Real-time Landscape-size Convec-tive Clouds Simulation and Rendering[C]//Workshop on Vir-tual Reality Interaction and Physical Simulation(VRIPHYS),Lyon.Eurographics-European Association for Computer Gra-phics,2017:1-8. [12]HUANG W.Dynamic cloud real-time simulation based on GPU and particle system[D].Nanjing:Software Engineering Discipline of Southeast University,2017:1-51. [13]MARRA F,GRAGNANIELLO D,COZZOLINO D,et al.Detection of gan-generated fake images over social networks[C]B2018 IEEE Conference on Multimedia Information Processing and Retrieval(MIPR).2018:384-389. [14]HAMBLYN R.The Cloud Book[M].Chicago:David&Charles,2008. [15]MANDELBROT B B,VAN NESS J W.Fractional Brownianmotions,fractional noises andapplications[J].SIAM Review,1968,10(4):422-437. [16]MUÑOZ A.Higher order ray marching[C]//Computer Gra-phics Forum.2014:167-176. [17]BI S B,ZENG X W,PAN Q Y,et al.3D Simulation and Simplified Algorithm of Satellite Cloud Map Based on Particle System[J].Journal of System Simulation,2014,26(11):2630-2635. [18]TANG Y,LIU Z X,GUO H L,et al.Real-time Simulation ofMulti-noise Volumetric Cloud[J].Small Microcomputer Systems,2019,40(11):2461-2465. |
|