Rolling OpenVG into Inkscape?
Hi all.
As a programmer I was wondering, have any of Inkscape developers had looked into OpenVG?
http://www.khronos.org/openvg/
For those of you who don't know about OpenVG, it can be summarized as an open cross platform C style API for drawing vector graphics, including but not limited to:
Stroked paths with customizable stroke styling Filled paths with customizable colors, gradients, and patterns Images and image filters
Pretty much the same thing Cairo does, but with (I believe) a greater potential for hardware acceleration. I read about people people riding OpenVG on top of OpenGL, and maybe someday hardware vendors might even put out an OpenVG enabled driver. One can hope.
I found this free with source project which piggy backs OpenVG over OpenGL:
http://zrusin.blogspot.com/2007/01/openvg_116899762231694078.html
Also there is this commercial implementation of OpenVG:
http://www.amanithvg.com/project.html
... and videos of what can be done with the above OpenVG implementation here:
http://youtube.com/watch?v=2ceiKZyGEHE
If you watch the video you will see the benefits using hardware accelerated OpenVG. Namely those are:
Blazingly fast vector graphics Real time vector graphic movement and animation The CPU is freed up as most of the processing is moved over to the GPU A standard 2D vector API for the major operating systems
Anyhow, I wanted to pick your brains about OpenVG. I'd really like have programming access to a hardware accelerated 2D vector API and wanted to meet up with others would are looking for the same.
Is a great idea, inkscape need this.
On Wed, Apr 16, 2008 at 10:06 AM, Anthony Walter <sysrpl@...155...> wrote:
Hi all.
As a programmer I was wondering, have any of Inkscape developers had looked into OpenVG?
http://www.khronos.org/openvg/
For those of you who don't know about OpenVG, it can be summarized as an open cross platform C style API for drawing vector graphics, including but not limited to:
Stroked paths with customizable stroke styling Filled paths with customizable colors, gradients, and patterns Images and image filters
Pretty much the same thing Cairo does, but with (I believe) a greater potential for hardware acceleration. I read about people people riding OpenVG on top of OpenGL, and maybe someday hardware vendors might even put out an OpenVG enabled driver. One can hope.
I found this free with source project which piggy backs OpenVG over OpenGL:
http://zrusin.blogspot.com/2007/01/openvg_116899762231694078.html
Also there is this commercial implementation of OpenVG:
http://www.amanithvg.com/project.html
... and videos of what can be done with the above OpenVG implementation here:
http://youtube.com/watch?v=2ceiKZyGEHE
If you watch the video you will see the benefits using hardware accelerated OpenVG. Namely those are:
Blazingly fast vector graphics Real time vector graphic movement and animation The CPU is freed up as most of the processing is moved over to the GPU A standard 2D vector API for the major operating systems
Anyhow, I wanted to pick your brains about OpenVG. I'd really like have programming access to a hardware accelerated 2D vector API and wanted to meet up with others would are looking for the same.
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Anthony Walter wrote:
As a programmer I was wondering, have any of Inkscape developers had looked into OpenVG?
http://www.khronos.org/openvg/
For those of you who don't know about OpenVG, it can be summarized as an open cross platform C style API for drawing vector graphics, including but not limited to:
Stroked paths with customizable stroke styling Filled paths with customizable colors, gradients, and patterns Images and image filters
Pretty much the same thing Cairo does, but with (I believe) a greater potential for hardware acceleration. I read about people people riding OpenVG on top of OpenGL, and maybe someday hardware vendors might even put out an OpenVG enabled driver. One can hope.
I mentioned OpenVG to Carl Worth of Cairo sometime last year. I believe he was of the opinion that OpenVG would be a suitable target for a Cairo backend. I think this is sensible. Cairo offers considerable benefit to us in that it provides a unified API for screen, print and pdf output.
Aaron Spike
Anthony Walter wrote:
Pretty much the same thing Cairo does, but with (I believe) a greater potential for hardware acceleration. I read about people people riding OpenVG on top of OpenGL, and maybe someday hardware vendors might even put out an OpenVG enabled driver. One can hope.
I mentioned OpenVG to Carl Worth of Cairo sometime last year. I believe he was of the opinion that OpenVG would be a suitable target for a Cairo backend. I think this is sensible. Cairo offers considerable benefit to us in that it provides a unified API for screen, print and pdf output.
Yes. Øyvind (pippin) Kolås has already written an OpenVG backend for cairo, (which, for example, can be used with something like Shiva which is an OpenGL-based implementation of OpenVG).
So with that, any potential for hardware acceleration through OpenVG is available through cairo as well. (And as Aaron says, cairo also provides PDF and PostScript output.)
-Carl
On Apr 16, 2008, at 6:06 AM, Anthony Walter wrote:
Hi all.
As a programmer I was wondering, have any of Inkscape developers had looked into OpenVG?
Hi,
A few of us have looked into it now and then. When rejon and I first saw info on them (SIGGRAPH we were at a while back) it seemed to have very limited distribution. One factor is that we would want something that was easy for us to use on Windows and Mac OS and other platforms. It also seemed to be very focused on hand-held devices and mobile applications.
Perhaps a bit of it at the time also was that there was a vendor pushing their implementation of it, and it seemed more of their focus to make money rather than get a cross-platform API supported. Often single-vendor initiatives like that take a little time to take hold (or pass to the sidelines). So that was another reason for waiting a bit.
However, the main thing was that it seemed at the time that having an OpenVG backend for cairo and just have Inkscape use cairo seemed like it would give more benefit overall.
On Wed, 16 Apr 2008 10:03:58 -0700, "Jon A. Cruz" <jon@...204...> wrote:
However, the main thing was that it seemed at the time that having an OpenVG backend for cairo and just have Inkscape use cairo seemed like it would give more benefit overall.
As a matter of interest, a cairo OpenVG backend exists now, although I don't know offhand if it has made its way into the core distribution yet.
http://lists.freedesktop.org/archives/cairo/2008-January/012833.html
-mental
participants (6)
-
Aaron Spike
-
Anthony Walter
-
Carl Worth
-
Jon A. Cruz
-
Lucas Franco
-
MenTaLguY