计算机系统应用
計算機繫統應用
계산궤계통응용
APPLICATIONS OF THE COMPUTER SYSTEMS
2013年
10期
143-146
,共4页
海浪模拟%JOGL%Pierson-Moskowitz模型%菱形网格法
海浪模擬%JOGL%Pierson-Moskowitz模型%蔆形網格法
해랑모의%JOGL%Pierson-Moskowitz모형%릉형망격법
Sea Wave imitation%JOGL%Pierson-Moskowitz model%Diamond-grid method
为了表现海浪的真实感和实时性仿真,本文以Pierson-Moskowitz模型为基础,采用波的波长和波速建立了海浪波高的初始状态值。通过 FBM(Fractal Brown Motion)的菱形网格方式计算海浪曲面片上每个网格点的波高,把每个点画出;再以菱形网格模拟海浪形状,将海浪点的波高描述为随时间和空间变化的多个正弦波叠加近似地表现海浪的运动效果;利用光照模型给海浪添加明暗凹凸效果,增加海浪的真实感;将真实世界中某一海浪的图像作为纹理源,贴到每个网格上,提高仿真的逼真度和运行速度,达到实时仿真的效果。利用 Java 和 JOGL编程模拟,逼真地生成了海浪在不同风向、不同等级情况下的场景。实验表明文中所述方法得当,技术可行。
為瞭錶現海浪的真實感和實時性倣真,本文以Pierson-Moskowitz模型為基礎,採用波的波長和波速建立瞭海浪波高的初始狀態值。通過 FBM(Fractal Brown Motion)的蔆形網格方式計算海浪麯麵片上每箇網格點的波高,把每箇點畫齣;再以蔆形網格模擬海浪形狀,將海浪點的波高描述為隨時間和空間變化的多箇正絃波疊加近似地錶現海浪的運動效果;利用光照模型給海浪添加明暗凹凸效果,增加海浪的真實感;將真實世界中某一海浪的圖像作為紋理源,貼到每箇網格上,提高倣真的逼真度和運行速度,達到實時倣真的效果。利用 Java 和 JOGL編程模擬,逼真地生成瞭海浪在不同風嚮、不同等級情況下的場景。實驗錶明文中所述方法得噹,技術可行。
위료표현해랑적진실감화실시성방진,본문이Pierson-Moskowitz모형위기출,채용파적파장화파속건립료해랑파고적초시상태치。통과 FBM(Fractal Brown Motion)적릉형망격방식계산해랑곡면편상매개망격점적파고,파매개점화출;재이릉형망격모의해랑형상,장해랑점적파고묘술위수시간화공간변화적다개정현파첩가근사지표현해랑적운동효과;이용광조모형급해랑첨가명암요철효과,증가해랑적진실감;장진실세계중모일해랑적도상작위문리원,첩도매개망격상,제고방진적핍진도화운행속도,체도실시방진적효과。이용 Java 화 JOGL편정모의,핍진지생성료해랑재불동풍향、불동등급정황하적장경。실험표명문중소술방법득당,기술가행。
For show realism and real-time simulation of ocean wave, this article is based on Pierson-Moskowitz model, uses waves of wavelength and wave velocities to establish a wave-height of the initial state value. By FBM (Fractal Brown Motion) calculation in diamond grid each grid point waves on the surface of the wave height, draw each point;With diamond-shaped grid simulation for wave shape, describing the waves of wave height as multiple sine wave superposition approximation over time and space to the motion of the waves;Illumination model for wave added dark bump effect, increase the realism of the waves;A wave in a real-world image as the source texture, posted on each grid, improving the fidelity of the simulation and run faster, achieve the purpose of simulation in real time. Using Java and JOGL programmable analog, we realistically generated waves under different wind speed in different types of scenes. Experiments show that the mentioned in the article is right way, technically feasible.