Rendering multiple POV-Ray scenes on Windows

I have a whole bunch of POV-ray files from molecular dynamics simulations collectively named "frameXX.pov" where "XX" is the frame number. I want to do them all, but I like 500, so I really don't want to do it manually. I'm sure there is a way to do this from the command line or batch file ... what would be the best way to do this? Thanks for the help:)

0


source to share


2 answers


Since your question is 2 months old, I assume your problem will be resolved by now. But I want to explain to other SOers stakeholders.

You can run the POV-Ray script multiple times in a parameterized loop. The typical way to describe cycle parameters is to write an .ini file.

Input_File_Name=somegreatscene.pov

; these are the default values
Initial_Clock=0.000
Final_CLock=1.000

; usually you'll start with Frame 0...
Initial_Frame=50
Final_Frame=100

Height=640
Width=480

      



Two parameters that you can use in the script, are Clock _ and frame_number . clock_ is the default float value, ranging from 0 for the first frame to 1 for the last. The clock_ step is determined by the number of frames to be rendered, in the example above, the first frame would be rendered using clock_ 0, followed by 0.02, then 0.04, and so on. Alternatively, you can use frame_number, which is an integer count, in this case 50 for the first frame to 100 for the last.

By default, POV-Ray 3.7 will use all available CPU cores for rendering, but version 3.6 only runs on one core. However, you can run more than one POV-Ray instance at the same time and each instance display a portion of all frames by adding these lines to the .ini file:

; render the first half of frames 50 to 100
Subset_Start_Frame=50
Subset_End_Frame=75

      

+2


source


Directly supported directly:



http://news.povray.org/povray.animations/message/%3C47324428%40news.povray.org%3E/#%3C47324428%40news.povray.org%3E

+1


source







All Articles