POV-Ray : Newsgroups : povray.binaries.animations : Strange birds : Re: Strange birds Server Time
1 Jul 2024 04:35:27 EDT (-0400)
  Re: Strange birds  
From: RusHHouR
Date: 23 Sep 2006 06:55:01
Message: <web.451511d3d3ee376a47d3ae5e0@news.povray.org>
Tim Nikias <JUS### [at] gmxnetWARE> wrote:
>
> A spline only accepts values between 0 (beginning of spline) and 1 (end
> of spline). If you want it to repeat the path, the value has to start at
> 0 again. This could be done like this:
>
> #declare BatMover = clock*12;
> #while (BatMover >= 1) #declare BatMover = BatMover-1; #end
>
> and later use
> translate (batpath1(BatMover))
>
> Regards,
> Tim
>
> --
> aka "Tim Nikias"
> Homepage: <http://www.nolights.de>


Ah, gonna try it out! Thanks Tim!


Post a reply to this message

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