欢迎访问《金属矿山》杂志官方网站,今天是 分享到:

金属矿山 ›› 2008, Vol. 38 ›› Issue (06): 94-96+153.

• 机电与自动化 • 上一篇    下一篇

矢量数据在三维场景中的绘制

刘昭华1,杨靖宇2,戴晨光2   

  1. 1.江西理工大学;2.信息工程大学
  • 收稿日期:2008-04-11 出版日期:2008-06-15 发布日期:2011-07-18

Rendering of Vector Data over 3D Scene

Liu Zhaohua1,Yang Jingyu2,Dai Chenguang2   

  1. Jiangxi University of Science and Technology;2.Information Engineering University
  • Received:2008-04-11 Online:2008-06-15 Published:2011-07-18

摘要: 提出了一种基于模板阴影体算法的矢量数据绘制方法,实现了矢量数据在三维场景中的高质量实时叠加显示。由于该方法基于屏幕空间,所以具有像素级的精度,不会出现传统的基于纹理方法所产生的绘制走样现象;而且不受地形几何数据的约束,其执行效率与地形数据的复杂度无关,仅取决于矢量数据本身的复杂度。详细论述了基于模板阴影体算法矢量数据绘制的关键技术,并通过试验验证了该方法的有效性。

关键词: 模板测试, 阴影体, 矢量数据多面体, 矢量数据绘制

Abstract: A method of rendering vector data over 3D terrain based on stencil shadow volume algorithm is presented,which can realize a high quality real-time overlay of vector data on three-dimensional scene.Since this is a screen-space algorithm,it is per-pixel exact and does not suffer from aliasing artifacts as texture-based conventional techniques.Besides,it is not restricted by the underlying terrain geometry and its implementation efficiency is independent of the complexity of the terrain data but only depends on the complexity of the vector data.The key techniques of the rendering of vector data over 3D terrain based on stencil shadow volume algorithm are detailed and the effectiveness of this method is test-proven.

Key words: Stencil Test, Shadow volume, Vector Polyhedron, Vector Data Rendering