摘要
当前,多数三维图形设计软件都具有纹理映射功能,但对多幅纹理的复合贴图功能支持不够,不能很好地满足用户的需要。在保证可移植性,即不使用OpenGL多重纹理扩展的前提下,提出基于OpenGL标准库的复合纹理贴图方法,用户能够用本方法实现两幅纹理按照二值掩膜图进行纹理复合,生成新纹理,并可方便地使用参数设置来控制纹理效果。
At present, most of 3D design software have the function of texture mapping,which can't provide enough support for multitexture to meet customers' demand. On the premise ofguaranteeing portability (not using openGL multitexture extensions), compounded texture mapping based on openGL standard library is presented. Two textures is compounded according to two texture, based on a mask image, to obtain a new texture, and is controlled by parameters setting without making novel use of texturing hardware.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第8期1505-1508,共4页
Computer Engineering and Design