« Return to Thread: SVG Reader Feedback

Re: SVG Reader Feedback

by Carlos Dominguez :: Rate this Message:

Reply to Author | View in Thread

Thanks for the feedback, I already commited a second version, I removed all the code using libxml and just use k3d::xml which is really easy to understand actually :)
To be honest I was kind of scared to commit something hehe but there it goes.

BTW, also I've been having some trouble converting my bezier curves to NURBS, which should be really easy (just changing the knot vector) and apparently for the first point of the curve it does it correctly but for the end point it don't and I'm pretty shure the knot vector is fine the way I construct it. I'm going to put an example on the parse_path function and commit it so you see what I mean and could tell me what I'm doing wrong hehe :-) Thanks!

Bests,
Carlos

On Fri, May 16, 2008 at 1:36 AM, Timothy M. Shead <tshead@...> wrote:
Folks:

As an FYI, Carlos has committed a first iteration of the SVG reader in
svn ... as general advice, be sure to ping the list whenever you commit
something interesting!

Carlos, the main feedback before you go further is that the K-3D SDK
already provides an XML parser/DOM API that you should use for all XML
work ... see k3dsdk/xml.h, and grep for anything starting with "xml::"
for *lots* of examples.  K-3D's XML API plays better with the Standard
Library than other DOM models, and is up-to two orders of magnitude faster.

Cheers,
Tim




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development



--
Carlos Andres Dominguez Caballero
TEL: (52 443) 3147845
CEL: (52 443) 2028344
fismat.umich.mx/~carlosadc
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

 « Return to Thread: SVG Reader Feedback

LightInTheBox - Buy quality products at wholesale price