解放军理工大学学报(自然科学版)
解放軍理工大學學報(自然科學版)
해방군리공대학학보(자연과학판)
JOURNAL OF PLA UNIVERSITY OF SCIENCE AND TECHNOLOGY(NATURAL SCIENCE EDITION)
2014年
5期
490-495
,共6页
顾大权%邱滨%侯太平%汪晋
顧大權%邱濱%侯太平%汪晉
고대권%구빈%후태평%왕진
投影网格%P hillips谱%图形处理器%纹理图%气象要素
投影網格%P hillips譜%圖形處理器%紋理圖%氣象要素
투영망격%P hillips보%도형처리기%문리도%기상요소
projected-grid%Phillips spectrum%GPU%texture%meteorological elements
针对如何有效利用现代图形硬件渲染大规模真实感海浪场景的难题,构建了一种基于投影网格上的P hillips谱海浪模型,利用GP U得到的海面浪高渲染为实时高度浮点纹理图,对每个像素进行求梯度得到海水法向纹理图。提出了基于GLSL语言的海水光照算法,实现动态海面光照效果,通过对程序参数的调节,进行不同风向风速下海面浪高的控制以及能见度、太阳高度角等不同气象要素下的真实感海浪绘制。仿真结果表明,该模型及渲染方法能够获得逼真的场景特效。
針對如何有效利用現代圖形硬件渲染大規模真實感海浪場景的難題,構建瞭一種基于投影網格上的P hillips譜海浪模型,利用GP U得到的海麵浪高渲染為實時高度浮點紋理圖,對每箇像素進行求梯度得到海水法嚮紋理圖。提齣瞭基于GLSL語言的海水光照算法,實現動態海麵光照效果,通過對程序參數的調節,進行不同風嚮風速下海麵浪高的控製以及能見度、太暘高度角等不同氣象要素下的真實感海浪繪製。倣真結果錶明,該模型及渲染方法能夠穫得逼真的場景特效。
침대여하유효이용현대도형경건선염대규모진실감해랑장경적난제,구건료일충기우투영망격상적P hillips보해랑모형,이용GP U득도적해면랑고선염위실시고도부점문리도,대매개상소진행구제도득도해수법향문리도。제출료기우GLSL어언적해수광조산법,실현동태해면광조효과,통과대정서삼수적조절,진행불동풍향풍속하해면랑고적공제이급능견도、태양고도각등불동기상요소하적진실감해랑회제。방진결과표명,해모형급선염방법능구획득핍진적장경특효。
The modern graphics hardware to effectively render large scale realistic ocean waves,it is a problem to use. To aim this, an ocean wave model using Phillips spectrum based on projected grid was constructed. A real-time height floating point texture was made from the height date of the waves by graphic processing unit(GPU), and the normal map was got by calculating the grads of each pixel in the height map. Finally, an OpenGL Shading Language( GLSL) light arithmetic was proposed, and the dynamic surface lighting effects were achieved. Mean-while the rendering of the realistic sea under different meteorological elements like different wind direction and wind speed, visibility, sun angle and so on was approached through the program parameters adjusting. Simulation result shows that the model and rendering method can obtain access to a realistic scenes.