探讨了真实感云场景的模拟技术,设计了一种云场景的实时渲染方法。基于Perlin噪声建模生成云浓度图,并采用考虑浓度的Phong光照模型与单向散射光照模型,分别计算反射光和透射光,改善了传统方法无法真实反映不同角度太阳光照的问题,实现了不同时段动态云场景的绘制。通过引入基于GPU的Bumping纹理算法与Render-to-Texture技术,极大提高了云场景的渲染速度。实验结果进一步表明该方法能够同时满足真实感与实时性两个方面的要求。
The simulation of realistic cloud scene is discussed,a method of real-time cloud rendering is designed.Cloud concentration diagram is generated based on Perlin noise.Using Phong illumination model and single-scattering model,the reflected light and transmitted light are respectively calculated to improve the traditional methods that cannot truely reflect the sun light from different directions,and the dynamic cloud scene rendering is realized at different times.By the using of GPU-based Bumping Texture algorithm and Render-to-Texture technology,the rendering efficiency of the cloud scene is greatly improved.Experimental results further show that the method both satisfy the realistic and real-time needs.