Le 13-07-25 16:04, Peter a écrit :
> I have 20500 frames written from a molecular dynamics simulation. Is there
> anyway to easily render these is batch (I believe the queue will only allow 512
> files at the moment). Other than staying up all night and re-filling the queue
> when it empties, the only way I can think to do this currently would be to load
> 40 instances of POV ray... each with a full queue and start them
> simultaneously!... guessing that's not the best option!
> Any suggestions?
> Thanks in advance,
Are your source files ending in sequential numbers?
If so, you can use the internal animation feature to render all your
frames within a single sequence.
You can have a main .POV file that will #include the relevent data
according to the frame_number value using some string manipulations. The
concat(...) and str(...) string functions will greatly help construct
the needed files names.
#declare IN_File = concat("Mole",str(frame_number, -5, 0), ".inc")
The "-5" in str mean zero-pading of the value to 5 digits.
The "0" means zero decimal places.
And start the render with +kff 20500 on the command line.
This assume that your molecule are described in files names "Molexxxxx.inx".
Change the name as needed.
You can include files with any extention as long as they are writen
using the correct POV syntaxe.
Post a reply to this message