Animations with clock
With a suitable clock entry in the povray.ini file (Windows), you can create a series of images that can be combined with a suitable animation programme.
Example of a clock entry:
Initial_Frame=0
Final_Frame=99
Initial_Clock=0
Final_Clock=1
Cyclic_Animation=on
Pause_when_Done=off
100 images are created, the clock interval is divided into 100 steps.
In the 1st example, the prism was rotated around the y-axis with
rotate <0,clock,0>.
The colour of an object can also be varied:
pigment { colour rgb <1-clock, 0+clock/5, .5+clock/2> }
The clock command can also be applied to the camera:
In the following example, the clock command is built into a difference set:
Of course, the clock command can also be used several times in a script: