POV-Ray : Newsgroups : povray.general : 3d splines with uniform intervals ??? : Re: 3d splines with uniform intervals ??? Server Time
5 Aug 2024 00:20:04 EDT (-0400)
  Re: 3d splines with uniform intervals ???  
From: Christopher James Huff
Date: 13 Jan 2003 20:43:15
Message: <cjameshuff-99BF94.20430313012003@netplex.aussie.org>
In article <web.3e223c736e508e7a130c700f0@news.povray.org>,
 "Mike E." <nomail@nomail> wrote:

> I'm interested in your statement, "it isn't necessary". Is there something
> simple that I am missing?

I mean it doesn't require anything that isn't possible in POV.


> How would you move something along a spline at a
> constant speed? A real world example for instance - in the Pov3.5 example
> file "splinefollow.pov", how could I make the planes move around that spline
> at a constant speed?

Make a macro that creates a new spline that follows the original spline, 
but has time values calculated to keep the speed constant. Split the 
original into separate intervals, figure out the length of an interval 
and the entire spline...it really isn't difficult if you are familiar 
with coding. I'll dig out my old experiments, if I have time.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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