POV-Ray : Newsgroups : povray.animations : multistage with spline generator? : Re: multistage with spline generator? Server Time
6 Oct 2024 10:47:50 EDT (-0400)
  Re: multistage with spline generator?  
From: Alan Holding
Date: 28 Apr 2002 14:47:02
Message: <3ccc43a6$1@news.povray.org>
"murat" <pix### [at] yahoocom> wrote in message
news:3CCBEAB8.9326415C@yahoo.com...
> hi to all.
>
[snip!]

Simple:

#declare spline_clock=clock/2;

More involved: Use Chris Colefax's Automatic Clock Modification macro
(autoclck.mcr), but it only works fully with v3.1 at the moment.

You declare a variable to go from 0 to 0.5 based on the clock going from 0
to 1, like this:

#declare your_clock=(
    From (0, 0)
    To (1,0.5)
);

#declare spline_clock=your_clock;

Hope this useful,
Alan.


Post a reply to this message

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