计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (33): 184-187.DOI: 10.3778/j.issn.1002-8331.2008.33.056

• 图形、图像、模式识别 • 上一篇    下一篇

面向虚拟环境的真实感漫游湖面建模算法

程甜甜,陈亮亮,何 伟,李云飞   

  1. 苏州大学 计算机学院,江苏 苏州 215006
  • 收稿日期:2007-12-12 修回日期:2008-02-25 出版日期:2008-11-21 发布日期:2008-11-21
  • 通讯作者: 程甜甜

Modeling algorithm for realistic travelling lake surface simulation in virtual environment

CHENG Tian-tian,CHEN Liang-liang,HE Wei,LI Yun-fei   

  1. Computer Department,Soochow University,Soochow,Jiangsu 215006,China
  • Received:2007-12-12 Revised:2008-02-25 Online:2008-11-21 Published:2008-11-21
  • Contact: CHENG Tian-tian

摘要: 提出了一种面向虚拟漫游的太湖湖面建模算法。引入了Johanson投影网格法,避免了多分辨率LOD的龟裂问题,将视空间里生成的网格投影到世界空间中。为了提高渲染效率,避免对投影到世界空间中的每个湖面网格点进行噪声计算,采用了准均匀B样条曲面来构造湖水水面,将Perlin噪声施加于B样条曲面的特征控制点,间接地控制水面高度。依靠图形硬件的加速功能保证了B样条曲面的生成速度。实验表明,用该算法可以在普通PC平台上实时模拟漫游太湖的真实场景。

关键词: 投影网格法, Perlin噪声, B样条曲面

Abstract: A new modeling algorithm for realistic travelling Tai lake surface simulation in virtual environment is presented.With the introduction of Johanson’s projected grid algorithm which doesn’t use multi-resolutional LOD model and avoids the chapping problem,it transforms the grid mesh from view space to world space.To speed up the rendering frequency and avoid noise calculation for every lake mesh vertex,B-spline surface is introduced to construct lake surface.The Perlin noise is applied to the control point of the B-spline surface in order to control the water height field indirectly.So the water surface can be divided in high resolution without more noise calculation.The construction speed of B-spline surface is guaranteed by acceleration function of the graphic hardware.It turns out that this modeling algorithm can satisfy the requirements of real time simulation of realistic water surface on generic PC platform.

Key words: projected grid algorithm, Perlin noise, B-spline surface