3D Implementation of SVG
-
摘要: 针对SVG在3D图形的描述与绘制上存在局限性的问题,提出了一种SVG的3D实现方法;详细介绍了SVG的2D坐标系到3D坐标系的转换原理,给出了转换到3D坐标系后的SVG-3D图形的绘制与操控流程,并以在3D场景中绘制一个正立方体和圆球体为例,介绍了在HTML页面中采用JavaScript创建3D场景和绘制与操控这2个图形的实现。Abstract: In view of problem of limitation on description and drawing of 3D graph by SVG, the paper proposed a 3D implementing method of SVG. It introduced conversion principle of 2D coordinate to 3D coordinate of SVG in details, gave processes of drawing and operation control of SVG-3D graph on 3D coordinate. Taking drawing a cube and a spherosome in 3D scene as example, it expounded implementation of creation of 3D scene and drawing and operation control of the two graphs in HTML page by use of JavaScript.
点击查看大图
计量
- 文章访问数: 27
- HTML全文浏览量: 3
- PDF下载量: 5
- 被引次数: 0