二维矢量图形算法加速标准 OpenVG

http://blog.3snews.net/html/96/6596-18174.html

OpenVG一个2005年推出的二维矢量图形显示标准,
由图形技术标准化团体Khronos Group维护,目前主要用
于嵌入式设备领域。

既然是规范,那就有很多实现,我大致看了看官方的实现,
接口文件不到1000行,看起来似乎很简单,应该比agg这种
纯模板库要容易使用得多。

或许,也是二维GIS图形系统一个相当不错的跨平台方案。

官方实现下载地址:

http://www.khronos.org/files/openvg_1_0_ri

gingkoVG:国内一个高手的纯软件实现,据说性能很不错。

http://www.hygraphics.com/

AmanithVG:基于OpenGL硬件加速的的OpenVG实现,商业解决方案

官方网站:http://www.amanith.org

下面是截图,我下载了官方的例子运行,确实贼快

_ __ ___Screenshots___ __ _

1. Tiger

The famous PostScript. tiger test, rendered using AmanithVG™ engine, at different zoom levels.

The famous PostScript. Tiger example (01)
The famous PostScript. Tiger example (02)

Tiger shot 1
Tiger shot 2

2. Clock

A real eye-candy OpenVG clock, rendered using AmanithVG™ engine.

Clock example

Clock shot

3. Flowers

An interactive flower particle system, rendered using AmanithVG™ engine.

Flowers example (01)
Flowers example (02)

Flowers shot 1
Flowers shot 2

4. Perspective image warping

An SVG file rendered on a VGImage and then perspectively warped.

Perspective image warping example (01)
Perspective image warping example (02)

Image not warped shot
Image warped shot

5. Color gradients

Some colorful gradients: linear, radial and conical.

Linear gradient example
Radial gradient example
Conical gradient example

Linear gradient shot
Radial gradient shot
Conical gradient shot

6. Subwaymap

Interactive navigation of the Milan subway map.

Milan subway map example (01)
Milan subway map example (02)

Subway map zoomed out shot
Subway map zoomed in shot

原文地址:https://www.cnblogs.com/leaven/p/1879275.html