|
|
"yoyodunno" <nomail@nomail> wrote:
> Warp <war### [at] tagpovrayorg> wrote:
>
> > but the most common approach to this is to approach the problem iteratively.
> > In other words, when you want a point on the spline which is at a distance
> > x from the beginning of the spline, you sample points on the spline,
> > approximate their distance from the beginning, and then use something
> > like binary partitioning to get a point arbitrarily close to the actual point
> > you are searching.
> >
> > IIRC Colefax's spline macro utility had such a functionality built-in
> > (but it's not related to the splines in POV-Ray 3.6).
> >
> > --
> > - Warp
>
> How do I sample points along the spline? Is there some command to get a point on
> the spline or something? Also I have no idea what binary partitioning is, but
> I'll look it up.
The spline macro that Warp mentioned above can now be found here:
http://povrayinclude.wytraven.com/spline/index.html
--
Tor Olav
http://subcube.com
Post a reply to this message
|
|