计算机科学 ›› 2023, Vol. 50 ›› Issue (6): 236-242.doi: 10.11896/jsjkx.220500070

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

基于气象数据与多噪声融合的体积云模拟研究

卢春海, 徐新海, 张帅, 李豪   

  1. 军事科学院 北京 100091
  • 收稿日期:2022-05-08 修回日期:2022-10-27 出版日期:2023-06-15 发布日期:2023-06-06
  • 通讯作者: 张帅(zhangshuai9999@outlook.com)
  • 作者简介:(luchunhai01@163.com)
  • 基金资助:
    国家自然科学基金青年科学基金(62102446)

Study on Volume Cloud Simulation Based on Weather Data and Multi-noise Fusion

LU Chunhai, XU Xinhai, ZHANG Shuai, LI Hao   

  1. The Academy of Military Science,Beijing 100091,China
  • Received:2022-05-08 Revised:2022-10-27 Online:2023-06-15 Published:2023-06-06
  • About author:LU Chunhai,born in 1998,master.His main research interests include environmental simulation and graphics rende-ring.ZHANG Shuai,born in 1986,Ph.D.His main research interests include environmental simulation and space-time subdivision.
  • Supported by:
    Young Scientists Fund of the National Natural Science Foundation of China(62102446).

摘要: 为了在智能无人机集群仿真中构建逼真的仿真环境,需要考虑基于气象数据对云进行建模与渲染。而当前基于真实气象数据的云模拟大多采用物理建模方法,如求解NS方程和粒子系统方法,这些方法为繁重的微积分方程求解任务所累,存在因计算量大而无法在大规模场景下实现实时仿真的缺点。针对该问题,提出了一种使用气象数据生成纹理与多噪声融合的体积云建模方法,并将气象数据与高度相关函数相结合来定义云的形状和密度在高度上的变化,有效地将气象数据与非物理建模方法进行结合。渲染时采用光线步进算法从视线方向和朝向太阳两个方向累积云的密度,结合光的吸收和散射定律计算每个样本点的颜色与透明度,最终绘制成云。实验结果表明,模拟出的体积云与气象数据中的云层信息较为一致,效率高,且在形态和颜色上都接近真实的云。

关键词: 体积云, 气象数据, 高度相关函数, 多噪声, 光照模型

Abstract: In order to build a realistic simulation environment in the smart drone swarm simulation system,it is necessary to consider modeling and rendering clouds based on weather data.At present,cloud simulations based on real weather data generally adopt physical modeling methods,such as solving NS equations and particle system,which are burdened by heavy calculus equation solving tasks,so they have the disadvantages of large computational volume and inability to achieve real-time simulation in large-scale scenarios.Aiming at this problem,a method of modeling volumetric cloud is proposed.Firstly,weather data is used to generate a texture,then combined with the height dependent functions to define changes in the shape and density of clouds in height,and finally the cloud is modeled in combination with multi-noise.So the weather data is effectively combined with non-physical modeling methods.In the rendering,the color and transparency of each sample point are calculated by using raymarching algorithm to accumulate the density of the cloud from the line of sight direction and the sun,in combination with the law of light absorption and scattering,and finally the cloud is drawn.Experiments show that the simulated volumetric clouds are consistent with the cloud information in the weather data,highly efficient,and close to the real cloud in terms of shape and color.

Key words: Volume cloud, Weather data, Height dependent functions, Multi-nosie, Light model

中图分类号: 

  • TP391.9
[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.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!