Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
April 03, 2015 OpenVG bindings | ||||
---|---|---|---|---|
| ||||
Hi folks, today i've created my first dlang library ^_^ a binding to the OpenVG library standard. The referenced implementation is ShivaVG which allows to draw vector graphics within an OpenGL context (similar to cairo). A small demo application is included, using derelict gl3 and glfw3 https://github.com/oggs91/OpenVG_D http://code.dlang.org/packages/dopenvg |
April 04, 2015 Re: OpenVG bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to ddos | On 4/04/2015 11:53 a.m., ddos wrote: > Hi folks, > > today i've created my first dlang library ^_^ a binding to the OpenVG > library standard. The referenced implementation is ShivaVG which allows > to draw vector graphics within an OpenGL context (similar to cairo). > A small demo application is included, using derelict gl3 and glfw3 > > https://github.com/oggs91/OpenVG_D > http://code.dlang.org/packages/dopenvg Could you please add an example using Devisualization.Window? That way its one less external to D library that is a dependency. https://github.com/Devisualization/window |
April 04, 2015 Re: OpenVG bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to ddos | On Friday, 3 April 2015 at 22:53:51 UTC, ddos wrote:
> Hi folks,
>
> today i've created my first dlang library ^_^ a binding to the OpenVG library standard. The referenced implementation is ShivaVG which allows to draw vector graphics within an OpenGL context (similar to cairo).
> A small demo application is included, using derelict gl3 and glfw3
>
> https://github.com/oggs91/OpenVG_D
> http://code.dlang.org/packages/dopenvg
Thx. I'll give it a try because it matches something i've started last week. I could use Cairo but a few years ago i've already gave up something similar because of the bad performances (Cairo is made and dedicated to inkscape, isn't it ?). Are OpenVG perfs better?
This lib is quite unknown btw.
|
April 06, 2015 Re: OpenVG bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On Saturday, 4 April 2015 at 02:47:46 UTC, Rikki Cattermole wrote: > On 4/04/2015 11:53 a.m., ddos wrote: >> Hi folks, >> >> today i've created my first dlang library ^_^ a binding to the OpenVG >> library standard. The referenced implementation is ShivaVG which allows >> to draw vector graphics within an OpenGL context (similar to cairo). >> A small demo application is included, using derelict gl3 and glfw3 >> >> https://github.com/oggs91/OpenVG_D >> http://code.dlang.org/packages/dopenvg > > Could you please add an example using Devisualization.Window? > That way its one less external to D library that is a dependency. > > https://github.com/Devisualization/window I tried and failed so far, pls have a look here: http://forum.dlang.org/thread/acfmrhyhpdrukkqljohq@forum.dlang.org |
April 06, 2015 Re: OpenVG bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to Baz | On Saturday, 4 April 2015 at 09:24:29 UTC, Baz wrote:
> On Friday, 3 April 2015 at 22:53:51 UTC, ddos wrote:
>> Hi folks,
>>
>> today i've created my first dlang library ^_^ a binding to the OpenVG library standard. The referenced implementation is ShivaVG which allows to draw vector graphics within an OpenGL context (similar to cairo).
>> A small demo application is included, using derelict gl3 and glfw3
>>
>> https://github.com/oggs91/OpenVG_D
>> http://code.dlang.org/packages/dopenvg
>
> Thx. I'll give it a try because it matches something i've started last week. I could use Cairo but a few years ago i've already gave up something similar because of the bad performances (Cairo is made and dedicated to inkscape, isn't it ?). Are OpenVG perfs better?
> This lib is quite unknown btw.
I think the reason for this is that vector graphics are mainly used for drawing userinterfaces and illustrations like pdf file, svg file, etc. Here performance isn't much of a problem so there isn't any need for change. Cairo is imho a quasi standard and didn't change much since long time.
Since I use OpenGL I recently looked into OpenVG and it has a really clean and easy to understand renderpipeline and api. Khronos created a specification for OpenVG, but there aren't many (open) implementations yet. Some mobilephone manufacturers have implementations for their devices, like nokia.
Since you are interested in performance i think going with any hardware accelerated vector graphics library should work out for you. ShivaVG or cairo with a opengl backend (there are lots of different backends)
|
Copyright © 1999-2021 by the D Language Foundation