POV-Ray : Newsgroups : povray.advanced-users : Equal spacing along curve : Re: Equal spacing along curve Server Time
30 Jul 2024 06:29:44 EDT (-0400)
  Re: Equal spacing along curve  
From: Peter Popov
Date: 13 Feb 2000 15:19:20
Message: <EBCnOOIXNgxACCw8Pj01YyuclJBg@4ax.com>
On Sun, 13 Feb 2000 19:55:52 +0100, Sigmund Kyrre Aas
<as### [at] studntnuno> wrote:

>I'm trying to get equally spaced points on a parametric curve, but my
>brain is just dumping core.

 There was a thread in this forum called "Adding forces to points on
curves" started by Rune on Dec 27. Some of the replies there dig into
your problem.

>Now, df/dt would be the "speed" of the points along the curve, but how
>do I use it to get the desired effect?

Calculate the length l of the curve by integration. Divide it in n
equal pieces of length l/n. The first piece starts at t=0 and ends at
t1, where t1 is such that the integral of f(t)/dt from t to t1 equals
l/n. I think this is translateable to mathese but my brain is too
dumping core at the moment :)

>sig.


Peter Popov
pet### [at] tagpovrayorg
ICQ: 15002700


Post a reply to this message

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