POV-Ray : Newsgroups : povray.advanced-users : Equal spacing along curve : Equal spacing along curve Server Time
30 Jul 2024 06:29:44 EDT (-0400)
  Equal spacing along curve  
From: Sigmund Kyrre Aas
Date: 13 Feb 2000 14:00:25
Message: <38A6FE38.8DC6092E@stud.ntnu.no>
I'm trying to get equally spaced points on a parametric curve, but my
brain is just dumping core.

I have something similar to:

%ant=100;
#while (i<ant)
 %t=i/ant*x0;		// t running from 0 to x0
 %f=<t, Y(t), Z(t)>;	// f(t=0 -> x0) has arc lengt S
 sphere {f, .1}
 %i=i+1;
#end

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

sig.


Post a reply to this message

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