Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-07 Thread Paul Gordon
Justin Couch wrote: M. Halpin wrote: Anyway, so I was wondering if anyone knew of a way to load/convert SVGs into something Java3D can render as polygons? Since SVG is an XML-based language, with a bit of XSLT hacking, you could transform it to X3D and then use one of the loaders available for

Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-07 Thread Mark McKay
The latter, although more verbose, could be manipulated by standard XSLT methods. The former requires deep XPath kung fu and declarative recursion programming to pick apart. The SVG folks went for conciseness rather than ease of transformation. :-( If you're lookiing for a good SVG reader, you

Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-04 Thread Mark McKay
One thing you could try is to read the SVG in as Java2D shapes and then try to convert the 2D path shapes to 3D ones. I've written a light weight SVG parser which will soon be uploaded to https://svgsalamander.dev.java.net/. Currently you can find it at http://www.kitfox.com/salamander/index.html

[JAVA3D] Illustrator/SVG graphics?

2004-09-03 Thread M. Halpin
I have a bunch of art in Illustrator that I'd like to render as flat polygonal meshes. By default, AI can export to SVG and DXF: the SVG files look pretty good in third-party SVG viewers, however the DXF files look awful (not to mention that only a few components of them actually load using

Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-03 Thread Justin Couch
M. Halpin wrote: Anyway, so I was wondering if anyone knew of a way to load/convert SVGs into something Java3D can render as polygons? Since SVG is an XML-based language, with a bit of XSLT hacking, you could transform it to X3D and then use one of the loaders available for that. Problem is that

Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-03 Thread Rolf Gabler-Mieck
another idea is that you take the .ai format direct and load it into a 3d-modeller and afterwards exporting it into any desired 3d-format. e.g. wings3d will do this, but it will not load the aiversion 9 or 8 [?], but it will convert common geometry in a 3d-mesh, maybe you have to retexturing your

Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-03 Thread M. Halpin
another idea is that you take the .ai format direct and load it into a 3d-modeller and afterwards exporting it into any desired 3d-format. e.g. wings3d will do this, but it will not load the aiversion 9 or 8 I stumbled across Wings3D, but on both versions I tried, it won't load anything I've

Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-03 Thread M. Halpin
Since SVG is an XML-based language, with a bit of XSLT hacking, you could transform it to X3D and then use one of the loaders available for that. That's always a possibility, but I'd have to pick up both the SVG and X3D specs. I don't know about X3D, but I've heard the SVG format is fairly

Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-03 Thread Rolf Gabler-Mieck
M. Halpin schrieb: another idea is that you take the .ai format direct and load it into a 3d-modeller and afterwards exporting it into any desired 3d-format. e.g. wings3d will do this, but it will not load the aiversion 9 or 8 I stumbled across Wings3D, but on both versions I tried, it won't load

Re: [JAVA3D] Illustrator/SVG graphics?

2004-09-03 Thread michaelpfeiffer
however the DXF files look awful (not to mention that only a few components of them actually load using the DXF loaders referenced on j3d.org). Have you took a look at the loader archive at http://java3d.virtualworlds.de ? At least for DXF there is one more loader listed there. And by the