« Return to Thread: SVG Reader Feedback

Re: SVG Reader Feedback

by Carlos Dominguez :: Rate this Message:

Reply to Author | View in Thread

I just solved the NURBS-Bezier convertion problem, and changed the functions as you told me, I hope I get the curve loading complete by today, I'll let you know.

Bests,
Carlos

On Fri, May 16, 2008 at 8:35 PM, Timothy M. Shead <tshead@...> wrote:
Carlos Dominguez wrote:
> 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!

Sure ... while you're at it, you should be passing xml::element around
by-reference instead of by-value, so you aren't needlessly making copies
of the data.

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