摘要: 可缩放矢量图形(SVG)不支持3D模型的建立,为此,介绍SVG扩展元素的实现原理,研究在SVG的3D模型建立方法,利用三角网格差分方法解决元素不支持点数不一致、非均匀对象分布的问题,在SVG中建立3D数字高程模型,并对其实现在线旋转控制。对内嵌JS和Java后台程序生成DEM的方案进行比较,结果表明,内嵌JS方案的时间消耗较大,有必要扩展SVG标准中的3D表示标签。
关键词:
可缩放矢量图形,
数字高程模型,
标签,
3D可视化,
插值算法,
三角网格差分
Abstract: The Scalable Vector Graphics(SVG) does not support 3D model. Aiming at this problem, this paper introduces the realization of the principle of SVG expand element , researches how to set up 3D model in SVG which is 2D vector graphics, and uses interpolation algorithm with a triangulation network to solve the problem that element does not support points not consistent, not even object. It establishes 3D Digital Elevation Model(DEM) in SVG, and animates it online in changing view points. Approaches of 3D DEM creation by embedded JS and Java daemon are compared, and experimental results show that the embedded JS way cost more time than Java daemon solution. It is necessary to expand the as a basic SVG element to create 3D models.
Key words:
Scalable Vector Graphics(SVG),
Digital Elevation Model(DEM),
tag,
3D visualization,
interpolation algorithm,
triangle mesh difference
中图分类号:
林伟泳, 李岩. SVG数字高程模型生成与3D可视化方法[J]. 计算机工程, 2012, 38(22): 220-224.
LIN Wei-Yong, LI Yan. Approaches of Digital Elevation Model Generation and 3D Visualization of Scalable Vector Graphics[J]. Computer Engineering, 2012, 38(22): 220-224.