18.104.22.168 How do I turn animation on?
"How do I turn animation on? I have used the
clock-variable in my scene, but POV-Ray still
only calculates one frame."
The easiest way is to just specify the appropriate command line parameter on the command line or in the command
line field in the rendering settings menu (in the Windows version). For example, if you want to create 20 frames, type
This will create 20 frames with the
clock variable going from 0 to 1. The other command line
parameters are found in the POV-Ray documentation.
Ken Tyler has also another good solution for this:
In the directory that you installed POV-Ray into you will find a subdirectory called scenes and another inside that
called animate. You will find several example files showing you how to write your scene to use the clock variable. You
will still need to activate POV-Ray's animation feature by using an
.ini file with the correct info or
with command line switches. I personaly like to use the ini file method. If you try this open the master
file from the tools menu and add the following lines:
;Cyclic_Animation = on
Save the file and close it. When you need to use the animation feature simply go in and edit the
file and uncomment out the functions you want to use. At a minimum you will need to use the
final_frame option to make it work. Once you have stopped rendering your series of frames be sure to
comment out the clock variables in the ini file. After you have rendered a series of individual frames you will still
need to compile them into the animation format that you wish to use such as AVI or MPEG. See our links
collection on our website for programs that can help you do this. POV-Ray has no internal ability to do this for
you except on the Macintosh platform of the program.
The Mac version normally does not use
.ini files and lacks any command line, but uses a completely
graphical interface instead. To activate animation, choose the render settings item from the Edit menu (right under
"Preferences", it will be titled "FILENAME Settings", where FILENAME is the name of your file),
click on the Animation tab, and enter the needed information in the text boxes.