摘要
针对目前气象效果仿真存在的实时性差及不支持全天候的问题,提出一种基于OGRE三维渲染引擎的实时光照及降雨天气仿真方法。通过网络编程获取来自Web气象接口的实时气象数据并进行数据解析,从而根据解析获得的有效气象数据进行匹配分析天气条件集合,最后进行实时气候状况的绘制及更新。在实时降雨天气的绘制过程中,通过着色器语言对全天候的光照进行真实模拟,动态计算当前时刻的光照强度,实时绘制风场作用下的降雨天气效果,实现了实时降雨条件下的虚拟场景仿真,仿真结果满足了实时性的要求。
For weather effect simulation real-time performance is poor and does not support all-weather problems currently,this paper proposes a simulation approach of real-time lighting and rainfall weather based on three dimensional rendering engine object-oriented graphics render engine ( OGRE ) .Through network programming to obtain real-time weather data from the Web weather interface and make data analysis,then take the effective collection of weather data to match weather conditions,making real-time weather rendering and the update lastly.In the real-time rendering process of rainfall weather,through the shading language to simulate the lighting under the condition of all-weather, calculate the light intensity dynamically, real-time rendering rainfall weather under the effect of wind field.Realized the virtual scene simulation in real-time rainfall, the simulation results met the real-time requirements.
出处
《杭州电子科技大学学报(自然科学版)》
2015年第5期31-35,共5页
Journal of Hangzhou Dianzi University:Natural Sciences
关键词
OGRE
气象仿真
光照模拟
降雨天气仿真
object-oriented graphics render engine
weather simulation
lighting simulation
simulation of rainfall weather