Here is some feedback I got from the different vector library authors.

McSeem (Antigrain author) will help bind the C code when the interface is clearly defined.



                                        Binding Cairo

Straight binding since its written in C - Glitz development is slow and apparently incomplete?

                                        Binding Xara

Renderer not released yet.


                                        Binding Antigrain

Hello,
We are looking at vector libraries for the Neko VM (http://www.nekovm.org) However it is written in C, we are looking at Amanith, Cairo, Antigrain and Xara.

Well, as you could expect I will try to promote AGG here.
First, some words about the advantages of AGG compared with Amanith.
AGG is totally platform independent, including independency on any target hardware. In particular it means that the quality is guraranteed on any platform and any video card. You can even generate a PNG on the server side and you won't depend on video hardware.

Amanith, as well as Cairo with Glitz backend heavily depend on OpenGL. Xara engine is good, but huge and heavy.

AGG is pure software rendering library, with no HW acceleration. It means that you can't use it for heavy duty realtime graphics. But still, in practice the performance is good enough for, say, casual games.

Could you help us with this? Or know a way to make this easy? or any other suggestion?

You can surely use AGG from pure C, for example, Carl Sassenrath with his REBOL language does namely that.

The first thing to do is clearly define the interface. Then, I can help you with writting a wrapper over AGG with pure C functions.

The interface can be something like OpenVG, for example, or, Java2D, simplified and modified for pure C specific.

McSeem



                                        Binding Amanith

On Fri, 16 Jun 2006 15:44:08 +0800, Michele Fabbri <[EMAIL PROTECTED]> wrote:

To bind Amanith to Neko, would be possible in this way:

  - compile amanith as a stand alone shared library (.dll,.so)
  - write a C wrapper of the GOpenglBoard class
  - link the wrapper to NekoVM

Since NekoVM is Lgpl and Amanith is Qpl, please keep Amanith completely separated (as 'plugin') and add a disclaimer to specify that the included Amanith version is not under the Lgpl.

We are working (pretty finished) to an implementation of the OpenVG API over OpenGL, written in ansi C; unfortunately this is a closed source project, it will be a commercial library.

Best regards,

    Michele Fabbri
    www.mazatech.com




--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to