高级检索
陈鸿, 汤晓安, 杨耀明, 王晨昊. 基于位移映射的非规则军队标号绘制算法[J]. 计算机辅助设计与图形学学报, 2011, 23(5): 797-804.
引用本文: 陈鸿, 汤晓安, 杨耀明, 王晨昊. 基于位移映射的非规则军队标号绘制算法[J]. 计算机辅助设计与图形学学报, 2011, 23(5): 797-804.
Chen Hong, Tang Xiaoan, Yang Yaoming, Wang Chenhao. Using Displacement Mapping for Irregular Military Symbols Rendering[J]. Journal of Computer-Aided Design & Computer Graphics, 2011, 23(5): 797-804.
Citation: Chen Hong, Tang Xiaoan, Yang Yaoming, Wang Chenhao. Using Displacement Mapping for Irregular Military Symbols Rendering[J]. Journal of Computer-Aided Design & Computer Graphics, 2011, 23(5): 797-804.

基于位移映射的非规则军队标号绘制算法

Using Displacement Mapping for Irregular Military Symbols Rendering

  • 摘要: 为了解决三维非规则军标与地形的叠加问题,提出一种基于位移映射的军队标号绘制算法.首先在GPU片元着色器中对地形进行平滑过滤,滤除局部细节而保留地形起伏的主体趋势,将处理结果实时绘制成位移映射纹理;然后由非规则军标的控制点集生成军标二维外轮廓,用之裁剪一次NURBS表面生成平面的军标网格;最后在GPU顶点着色器中依据绑定的位移映射纹理位移军标网格上各顶点,以达到地形匹配的目的.实验结果表明,该算法可使非规则军标合理地匹配上三维地形,且运算效率高,能满足交互编辑以及动态推演的实时要求.

     

    Abstract: This paper presented an algorithm for military symbols rendering,focusing on overlaying irregular military symbols on 3D multi-resolution terrain.The algorithm was based on displacement mapping.First,terrain was smoothed using the programmable fragment processor on GPU to wipe off local details and reserve the main hypsography.The smoothed result was rendered to a displacement texture on the fly.Then,2D outlines of irregular military symbols were generated to trim NURBS surfaces to create military symbol grids.Finally,according to the displacement texture,all vertices of the military symbol grids were displaced using the programmable vertex processor on GPU.The algorithm allows high-quality overlay of military symbols on virtual landscapes and can meet the real-time requirement of interactive edit and dynamic plotting.

     

/

返回文章
返回