|
|
I found this useful for creating an image name from a string created while rendering.
The string 'newname' is calculated during the parse.
//by Bryan Valencia
//POV-RAY v. 3.6
//Create and execute a DOS Batch command after each frame
//example
//works with the following line in the render ini file
//Post_Frame_Command=fix.bat %o
#declare cmd1=concat("del \"",newname,"\"\n");
#declare cmd2=concat("ren %1 \"",newname,"\"\n");
#fopen myfile "fix.bat" write
#write(myfile, cmd1)
#write(myfile, cmd2)
#fclose myfile
Post a reply to this message
|
|