POV-Ray : Newsgroups : povray.windows : Rendering 20500 POV Files : Re: Rendering 20500 POV Files Server Time
16 Apr 2024 19:25:57 EDT (-0400)
  Re: Rendering 20500 POV Files  
From: Alain
Date: 25 Jul 2013 21:16:24
Message: <51f1cde8$1@news.povray.org>

> 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-2023 Persistence of Vision Raytracer Pty. Ltd.