为了实现国内城市实时天气的三维动态可视化显示,以Google Earth为二次开发平台,在.NET环境下实现系统的设计.通过调用Weather Web Service,解析得到天气信息,利用OpenGL以物理规律和粒子系统理论为依据模拟天气现象.查询时,在GoogleEarth的城市界面背景上,显示出查询地点实时天气对应的天气动画.实验结果表明:该系统能够使得传统视景仿真得到的雨雪等天气效果实时更新,并且实现了天气信息与地理信息的有机叠加,具有良好的实时性和直观性.
To realize the three-dimensional dynamic visual display of real-time weather of domestic cities,the system is designed based on Google Earth and.NET.Firstly,weather information is gotten by calling web service of weather forecast.Secondly,natural phenomenon is simulated using OperGL on the basis of particle system theory and the laws of physics.Then,weather animation which corresponds to the real-time weather information is displayed on the city background while inquiring.Finally,result show that weather phenomenon,such as rain and snows obtained by traditional visual simulation can be updated timely in the system,which makes weather information and geographic information to be superimposed organically and has great real-time and intuitive performance.