摘要
云彩对于绘制三维自然场景往往是必不可少的。3D Simplex噪声技术是由3D Perlin噪声改进而形成的一种新的噪声生成方法。利用3D Simplex噪声技术来产生3D噪声灰度图像,然后通过对噪声图像的锐化和颜色转换将3D Simplex噪声图像转换为蓝天白云图像,最后通过GLSL着色语言中的时间函数来对绘制图像的同时更新时间变量来实现云的飘动。实验结果表明,用3D Simplex噪声产生噪声图像运算复杂度低,生成云的图像真实感效果好。
Three-dimensional clouds for rendering natural scenes are essential. 3D Simplex noise technology is a new kind of noise generation method which is improved by 3D Perlin noise. 3D Simplex noise technology was used to generate 3D noise gray -scale images. Through the noisy image sharpening and color conversion, the 3D Simplex noise images were converted to blue sky and white clouds images, and finally with time function of the GLSL shading language, the fluttering clouds were achieved. The experiment results show that the 3D Simplex noise is low computational complexity to generate realistic images of the cloud and the generated realistic images of the cloud are effective.
出处
《辽宁石油化工大学学报》
CAS
2009年第3期58-61,共4页
Journal of Liaoning Petrochemical University