POV-Ray : Newsgroups : povray.general : help with splines : Re: help with splines Server Time
30 Apr 2024 16:22:54 EDT (-0400)
  Re: help with splines  
From: yoyodunno
Date: 10 Dec 2010 13:05:01
Message: <web.4d026b2e464c1137cd2e0a0a0@news.povray.org>
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.


Post a reply to this message

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