摘要
本文利用目前已有的技术环境,使用Visual Studio 2005sp1在DirectX SDK Dec2006与OGRE类库对三维场景中的水体效果进行实现。三维水体主要实现动态水面效果,包括反射、折射和波动的海面效果,并且对水面材质、波动的纹理、波动幅度等细节进行设置。另外,本文还对实现水体效果的四种主流方法进行比较,指出各种方法比较适用的水体效果。
By using already existing technology environment, Visual Studio 2005spl in Dec2006 with DirectX SDK OGRE 3D library scene of a body of water and terrain effects achieved. Generation of roaming the terrain effects can be achieved, it is convenient to add trees, grass and other objects, placed on the location of objects can be located judgment, collision detection so affixed with the surface topography. 3D water main implements dynamic surface effects, reflection, refraction and fluctuations in the sea effect, and the surface material. Texture volatility, fluctuations in the rate set for such details.In addition, the paper also achieves the effect of water four mainstream approaches, pointing out that various methods are suitable for water effects.
出处
《软件》
2013年第2期115-117,共3页
Software
关键词
GPU
面向对象图形渲染引擎(OGRE)
碰撞检测
小幅波理论
Graphics Processor Unit (GPU)
Object-oriented Graphics rendering Engine (OGRE)
Collision Detection
Small-wavetheory