杭州电子科技大学学报
杭州電子科技大學學報
항주전자과기대학학보
Journal of Hangzhou Dianzi University
2015年
5期
31-35
,共5页
OGRE%气象仿真%光照模拟%降雨天气仿真
OGRE%氣象倣真%光照模擬%降雨天氣倣真
OGRE%기상방진%광조모의%강우천기방진
object-oriented graphics render engine%weather simulation%lighting simulation%simulation of rainfall weather
针对目前气象效果仿真存在的实时性差及不支持全天候的问题,提出一种基于OGRE三维渲染引擎的实时光照及降雨天气仿真方法. 通过网络编程获取来自Web气象接口的实时气象数据并进行数据解析,从而根据解析获得的有效气象数据进行匹配分析天气条件集合,最后进行实时气候状况的绘制及更新. 在实时降雨天气的绘制过程中,通过着色器语言对全天候的光照进行真实模拟,动态计算当前时刻的光照强度,实时绘制风场作用下的降雨天气效果,实现了实时降雨条件下的虚拟场景仿真,仿真结果满足了实时性的要求.
針對目前氣象效果倣真存在的實時性差及不支持全天候的問題,提齣一種基于OGRE三維渲染引擎的實時光照及降雨天氣倣真方法. 通過網絡編程穫取來自Web氣象接口的實時氣象數據併進行數據解析,從而根據解析穫得的有效氣象數據進行匹配分析天氣條件集閤,最後進行實時氣候狀況的繪製及更新. 在實時降雨天氣的繪製過程中,通過著色器語言對全天候的光照進行真實模擬,動態計算噹前時刻的光照彊度,實時繪製風場作用下的降雨天氣效果,實現瞭實時降雨條件下的虛擬場景倣真,倣真結果滿足瞭實時性的要求.
침대목전기상효과방진존재적실시성차급불지지전천후적문제,제출일충기우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.