darrenf wrote:
>
> Hello
>
> Does anyone know how I can make a cyclic animation in povray?
>
> I am trying to make a smooth looping animation in a 150 and 300 frame
> animation, can would like some advice on to program this.
5.2.1.4 Cyclic Animation
INI file option -
Cyclic_Animation = bool Turn cyclic animation on/off
Command line options -
+KC Turn cyclic animation on
-KC Turn cyclic animation off
Many computer animation sequences are designed to be run in a continuous loop.
Suppose you have an object that rotates exactly 360 degrees over the course of
your animation and you did rotate 360*clock*y to do so. Both the first and last
frames would be identical. Upon playback there would be a brief one frame jerkiness.
To eliminate this problem you need to adjust the clock so that the last frame does
not match the first. For example a ten frame cyclic animation should not use clock
0.0 to 1.0. It should run from 0.0 to 0.9 in 0.1 increments. However if you change
to 20 frames it should run from 0.0 to 0.95 in 0.05 increments. This complicates
things because you would have to change the final clock value every time you changed
Final_Frame. Setting Cyclic_Animation=on or using +KC will cause POV-Ray to
automatically adjust the final clock value for cyclic animation regardless of
how many total frames. The default value for this setting is off.
--
Ken Tyler
Post a reply to this message
|