You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Frank Lyaruu <fr...@dexels.com> on 2009/01/06 11:05:39 UTC

SVG Rendering in JOGL

Hi Batik dev,
We are using Batik for a Swing based user interface. For performance
reasons, we are considering switching to use JOGL, as it is also a powerful
and fast platform for 2D graphics.

For the rest, SVG and Batik are just what we want, so the prettiest solution
would be to port the Batik renderer to render to a JOGL GLCanvas or GLJPanel
instead of Java2D. We can put some resources into that.

I cannot find any concrete attempts, but I can not imagine that I am the
first one to think of it, so I wonder if somebody else has tried something
like it.

   - Is there anybody out there who tried? Successfully or unsuccesfully,
   either case is interesting.
   - Can anybody share some ideas as for how to create an alternative
   rendering engine? I imagine we will need to create an alternative GVT
   renderer, but as I said, I am far from being an expert here.
   - If it turns out to be feasible, is anybody else interested (and willing
   to help out)? If it works out, I think it can be a very useful addition for
   Batik in general.

regards, Frank

Re: SVG Rendering in JOGL

Posted by Eugene Kondrashev <ek...@rambler.ru>.
Hi, i'm looking for jogl svg renderer too. I'm working with batik too and
trying to find ways of performance improvements.
Have you tried enabling java2d - opengl pipline (with
-Dsun.java2d.opengl=true vm argument)? If yes, was there some improvements?
The only thing i found about batik and  JOGL is your post and - 
http://lab.vodafone.com/vienna/svgcube.html
but they do not provide sources for their applets.

> If it turns out to be feasible, is anybody else interested (and willing
>to help out)? If it works out, I think it can be a very useful addition for
>Batik in general.
Yes, i'm interested, but i'm not representing any company, I'm just a java
developer with a little crazy ideas. I would participate with pleasure.


Frank Lyaruu-2 wrote:
> 
> Hi Batik dev,
> We are using Batik for a Swing based user interface. For performance
> reasons, we are considering switching to use JOGL, as it is also a
> powerful
> and fast platform for 2D graphics.
> 
> For the rest, SVG and Batik are just what we want, so the prettiest
> solution
> would be to port the Batik renderer to render to a JOGL GLCanvas or
> GLJPanel
> instead of Java2D. We can put some resources into that.
> 
> I cannot find any concrete attempts, but I can not imagine that I am the
> first one to think of it, so I wonder if somebody else has tried something
> like it.
> 
>    - Is there anybody out there who tried? Successfully or unsuccesfully,
>    either case is interesting.
>    - Can anybody share some ideas as for how to create an alternative
>    rendering engine? I imagine we will need to create an alternative GVT
>    renderer, but as I said, I am far from being an expert here.
>    - If it turns out to be feasible, is anybody else interested (and
> willing
>    to help out)? If it works out, I think it can be a very useful addition
> for
>    Batik in general.
> 
> regards, Frank
> 
> 

-- 
View this message in context: http://www.nabble.com/SVG-Rendering-in-JOGL-tp21307902p21795426.html
Sent from the Batik - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org