Previous:Language Version   Main Index   Next:String Substitution in Shell Commands



Shell-out to Operating System

Pre_Scene_Command=s

Set command before entire scene

Pre_Frame_Command=s

Set command before each frame

Post_Scene_Command=s

Set command after entire scene

Post_Frame_Command=s

Set command after each frame

User_Abort_Command=s

Set command when user aborts POV-Ray

Fatal_Error_Command=s

Set command when POV-Ray has fatal error

Note that no + or - switches are available for these options. They cannot be used from the command line. They may only be used from INI files.

POV-Ray offers you the opportunity to shell-out to the operating system at several key points to execute another program or batch file. Usually this is used to manage files created by the internal animation loop however the shell commands are available for any scene. The string s is a single line of text which is passed to the operating system to execute a program. For example

 Post_Scene_Command=tga2gif -d -m myfile

would use the utility tga2gif with the -D and -M parameters to convert myfile.tga to myfile.gif after the scene had finished rendering.



Previous:Language Version   Main Index   Next:String Substitution in Shell Commands