提出一种基于OpenGL的几何纹理生成方法,该方法通过对一类几何纹理构成规律的研究。选择随机函数和三角函数作为扰动函数,对景物表面法向量进行扰动,产生相应的几何纹理。实验结果验证了方法的有效性。
This paper proposes an approach of geometry texture based on OpenGL, this approach chose random function and trigonometric function as the harass function by research of one kind of geometry texture composing rule. The approach produces corresponding geometry texture through disturbing the scenery surface vector. Simulation results show it is effective.