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
Mark McKay
--
http://www.kitfox.com
M. Halpin wrote:
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
the DXF loaders referenced on j3d.org).
Anyway, so I was wondering if anyone knew of a way to load/convert SVGs into something
Java3D
can render as polygons? (Rasterizing to a texture isn't really an acceptable option).
I figure it
must be possible, especially since svgl can render these sames SVGs as polygons in C
using
OpenGL.
Thanks.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".