引用本文: | 王纲,季振洲,张泽旭.大范围动态海浪实时渲染[J].哈尔滨工业大学学报,2012,44(3):59.DOI:10.11918/j.issn.0367-6234.2012.03.012 |
| WANG Gang,JI Zhen-zhou,ZHANG Ze-xu.Real-time rendering of large scale dynamic ocean waves[J].Journal of Harbin Institute of Technology,2012,44(3):59.DOI:10.11918/j.issn.0367-6234.2012.03.012 |
|
本文已被:浏览 2385次 下载 1844次 |
码上扫一扫! |
|
大范围动态海浪实时渲染 |
王纲1, 季振洲1, 张泽旭2
|
(1. 哈尔滨工业大学 计算机科学与技术学院, 150001 哈尔滨, gmkwangg@gmail.com; 2. 哈尔滨工业大学 深空探测基础研究中心,150001 哈尔滨);1.哈尔滨工业大学 计算机科学与技术学院, 150001 哈尔滨, gmkwangg@gmail.com;2.哈尔滨工业大学 深空探测基础研究中心,150001 哈尔滨
|
|
摘要: |
为实现大范围动态海浪的实时渲染提出了一种高效方法.首先提出一种基于LOD技术的新型网格模型,采用Gerstner模型在GPU(图形处理单元)上实现了海浪的动态模拟和Choppy波的模拟,给出一种凹凸纹理贴图的方法对较远处的海浪渲染实现加速,并利用动画凹凸纹理改善海浪渲染效果;其次通过立方体纹理实现了对天空、太阳的反射效果,运用Phong光照模型实现了海浪的光照并实现了菲涅尔反射;最后采用动画纹理模拟了海浪中的泡沫,并实现了云在海面上投射的阴影等特殊效果.实验结果表明,该方法可以对90 km范围的海浪进行实时交互渲染,并已成功应用于某飞行模拟器中. |
关键词: 动态海浪 实时渲染 Gerstner模型 纹理动画 |
DOI:10.11918/j.issn.0367-6234.2012.03.012 |
分类号:G4T02 |
基金项目:航天创新基金资助项目(CASC200902-4); 深空探测着陆与返回控制技术国防重点学科实验室开放基金资助项目(HIT.KLOF. 2011.077). |
|
Real-time rendering of large scale dynamic ocean waves |
WANG Gang,JI Zhen-zhou,ZHANG Ze-xu
|
Abstract: |
In order to render large scale ocean waves in real-time, an effective method is presented. Firstly, a novel geometry model based on LOD (Level of Detail) is used as the ocean surface, and the Gerstner wave is applied on GPU to simulate dynamic ocean wave and choppy wave. A bump mapping texture is utilized on areas far from the eyes for improving rendering performance, and the animated bump mapping textures are used to enhance the rendering effect of ocean surface. Secondly, the sun and sky reflections are achieved via cube mapping texture. Phong light and Fresnel reflection are discussed and applied. Special effects such as cloud shadow and whitecaps based on texture animation are implemented. Experimental results show that the method can be used to render a 90 km ocean scene interactively in real-time and has been applied to a flight simulator successfully. |
Key words: dynamic ocean wave real-time rendering Gerstner wave texture animation |