为了在低性能的移动设备上实现高质量图形效果,设计实现了一种高效的各向异性纹理映射方法.首先提出了基于三角形子纹理单元精度各向异性滤波器(TSPAF),将像素表示为三角形,通过反向投影获得像素在纹理空间的三角形足迹;并在此基础上提出了一种节省带宽的混合滤波方式,利用MIPMap层选择并结合二次线性滤波和TSPAF来实现混合各向异性纹理映射.实验结果表明,该方法能获得良好的图像效果,并具有低计算量和低存储量的优点,适合移动设备GPU的实现.
This paper proposes a high performance anisotropic texture mapping algorithm in order to achieve high quality image for mobile device. At first, a triangle-based sub-texel precision anisotropic filter (TSPAF) is proposed, which represents the pixel as triangle shape, and an anisotropic triangle footprint is obtained through inverse projection. Based on TSPAF, a hybrid triangle-based sub-texel precision anisotropic filter (HTSPAF) is introduced for saving limited bandwidth, by combining the bilinear filtering and TSPAF filtering with the MIPMap layer chosen. The high quality experimental image results, together with the low computational and storage requirements obtained by the HTSPAF, show that our proposed algorithm is feasible for mobile GPU implementation.