计算机工程与应用 ›› 2020, Vol. 56 ›› Issue (1): 238-243.DOI: 10.3778/j.issn.1002-8331.1809-0367

• 工程与应用 • 上一篇    下一篇

结合视点变换的三维地形无缝绘制算法

杨燕,王慧青,焦越   

  1. 东南大学 仪器科学与工程学院,南京 210096
  • 出版日期:2020-01-01 发布日期:2020-01-02

Seamless 3D Terrain Rendering Algorithm Combined with Changed Viewpoint

YANG Yan, WANG Huiqing, JIAO Yue   

  1. School of Instrument Science and Engineering, Southeast University, Nanjing 210096, China
  • Online:2020-01-01 Published:2020-01-02

摘要: 针对传统地形裂缝消除技术普遍存在构网速度慢,层次约束强等问题,提出了一种结合视点变换的地形无缝绘制算法。该方法首先根据精度生成LOD粗模型,然后利用纹理映射技术生成精细网格,并根据视点动态调整顶点位置以消除因层次细节过渡产生的T型裂缝。此外,通过CPU-GPU协同工作的方式,将批量构网及渲染的工作从CPU移植到GPU中,提升了整个系统的处理速度。实验结果表明,该方法可以有效消除地形裂缝,保证网格平滑过渡。

关键词: 三维地形, 裂缝消除, 基于视点, 纹理映射

Abstract: A seamless terrain rendering algorithm combined with changed viewpoint is proposed to solve the problem that the conventional multi-resolution terrain rendering methods are time-consuming and having strong tile level constraint. Firstly, a rough LOD model based on precision is generated. Then fine mesh models are generated by using the texture mapping technique. Finally, it adjusts the vertex position dynamically according to the viewpoint to eliminate the T-shaped crack caused by the level detail transition. In addition, it uses CPU-GPU to work together to transfer the batch network and rendering work from CPU to GPU, which improves the processing speed of the whole system. The experimental results prove that the proposed method can effectively eliminate terrain cracks and ensure a smooth transition of the mesh.

Key words: 3D terrain, crack elimination, based on viewpoint, texture mapping