大规模三维地形的真实感可视化对于表现战场自然环境具有重要意义,OpenGL、D3D等主流三维图形引擎需要将多层纹理数据发送到GPU端进行多重纹理融合操作。对于瘦客户机,在显卡位宽和显存有限的资源下,大量的多重纹理融合操作常会导致GPU和带宽负载过大,出现绘制画面不流畅、渲染效率低等问题。为此,提出了一种基于SSE2的多重纹理混合技术,通过在CPU端进行混合纹理混合操作,降低GPU负载,减少数据传送时间。实验证明,该方法在保证CPU计算效率的前提下,有效地降低了大范围虚拟战场环境可视化过程中GPU和带宽负载,显著提升了瘦客户机中大范围虚拟战场数据的渲染效率。
The texture data plays an important role in three-dimensional topography simulation for virtual battlefield environment.3Dgraphics engine such as OpenGL or D3 Dprovides multi-texture mapping mechanism or shader,which is able to achieve the integration of multiple textures.But the achievement of multiple textures is GPU-based,which will take a large occupancy of GPU memory and bandwidth.In thin clients,such method will cause a lower render delay and lower efficiency.Therefore,a novel SSE2 based multi-texture blending method is presented in this paper,which implements the multiple textures blending process on CPU.The experiment proved that this method can effectively reduce the GPU load,achieve the integration of real-time multi-layered texture,and improve the rendering efficiency of three-dimensional topography simulation system.