摘要
研究了海浪仿真的传统方法和理论,在分析其优缺点的基础上,提出了一种基于分形与纹理映射的3D海浪仿真方法。利用分形理论中的钻石方块算法建立海浪的随机高度场,再通过OpenGL中的纹理映射技术模拟海浪表面细节,使得渲染速度快,并增加了3D场景特效,有很强的真实感和应用价值。
The methods and theories about traditional simulation of sea wave are studied.Through analyzing the advantages and disadvantages of those old methods,a new method for 3D wave simulation based on fractal and texture mapping is proposed,using diamond-square algorithm of fractal theory to build the random high model of sea wave,using technique of the texture mapping to simulate the detail of sea surface.This algorithm can create and render wave image quickly.Besides,adding some 3D specially efficacy,making the scene vivid and having good application in wide range.
出处
《现代电子技术》
2009年第18期67-69,共3页
Modern Electronics Technique
关键词
分形
纹理映射
纹理位移
3D海浪仿真
fractal
texture mapping
texture translocation
3D sea wave simulation