POV-Ray : Newsgroups : povray.windows : Rendering 20500 POV Files : Re: Rendering 20500 POV Files Server Time: 1 Oct 2020 00:13:41 GMT
  Re: Rendering 20500 POV Files  
From: Alain
Date: 26 Jul 2013 01:16:24
Le 13-07-25 16:04, Peter a écrit :
> Hi,
>
>    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
> up
> 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,
>
> Peter
>
>
>

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")
#include IN_File

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.




Alain


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.