计算机应用
計算機應用
계산궤응용
COMPUTER APPLICATION
2010年
3期
585-588
,共4页
平流雾%雾密度%雾效因子%GPU%实时性
平流霧%霧密度%霧效因子%GPU%實時性
평류무%무밀도%무효인자%GPU%실시성
advection fog%fog density%fog factor%Graphic Processing Unit (GPU)%real-time
在复杂的三维仿真系统中模拟雾效对系统的实时性和真实性都提出了较高的要求.在分析传统雾效模拟方法的基础上,提出了一种基于GPU的实时雾效模拟方法.基本思想是建立一个表示雾随高度渐变的指数函数,然后根据提出的算法公式在GPU上实时计算出雾浓度,最后将所计算出的雾效因子与片元颜色进行混合计算.实验证明,该方法能够实时生成真实感较强的雾效.
在複雜的三維倣真繫統中模擬霧效對繫統的實時性和真實性都提齣瞭較高的要求.在分析傳統霧效模擬方法的基礎上,提齣瞭一種基于GPU的實時霧效模擬方法.基本思想是建立一箇錶示霧隨高度漸變的指數函數,然後根據提齣的算法公式在GPU上實時計算齣霧濃度,最後將所計算齣的霧效因子與片元顏色進行混閤計算.實驗證明,該方法能夠實時生成真實感較彊的霧效.
재복잡적삼유방진계통중모의무효대계통적실시성화진실성도제출료교고적요구.재분석전통무효모의방법적기출상,제출료일충기우GPU적실시무효모의방법.기본사상시건립일개표시무수고도점변적지수함수,연후근거제출적산법공식재GPU상실시계산출무농도,최후장소계산출적무효인자여편원안색진행혼합계산.실험증명,해방법능구실시생성진실감교강적무효.
Fog simulation is an important research topic in the field of three-dimensional simulation. It puts forward high requirements on real-time performance as well as realistic rendering results for complex three-dimensional simulation system. By analyzing the traditional simulation methods of fog, the authors proposed a Graphic Processing Unit (GPU)-based method to simulate the fog effect in real-time. The basic idea was to employ an exponential function to simulate the fade of fog with height. Then a GPU implementation of this formula was presented. And finally the fog color was blended with the fragment color according to the fog factor. The experimental results show that the proposed method can generate strongly realistic fog in real-time.