POV-Ray : Newsgroups : povray.general : Subdividing a spline : Re: Subdividing a spline Server Time
31 Jul 2024 22:12:02 EDT (-0400)
  Re: Subdividing a spline  
From: Dave Matthews
Date: 24 Jul 2006 11:45:00
Message: <web.44c4ea4b3dd920ad3abc2b430@news.povray.org>
"Tim Attwood" <tim### [at] comcastnet> wrote:

(snip)

> #macro Split_Spline(SplA SplB begin_at stop_at rez stype)

(snip)

one small correction:

>        vstr(3, ABC_spl(c * (stop_at - begin_at) + begin_at),
>        ",", 0,3),">n");

should be:  vstr(3, SplA(c * (stop_at - begin_at) + begin_at,
etc.

Very nice!  I like the method (and Jim's as well.)  I've been puzzling over
an efficient approximation technique, also, for non-functionally defined
paths.

Thanks, both of you!

Dave Matthews


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.