POV-Ray : Newsgroups : povray.windows : Rendering 20500 POV Files : Re: Rendering 20500 POV Files Server Time
28 Jan 2023 07:59:08 EST (-0500)
  Re: Rendering 20500 POV Files  
From: Peter
Date: 13 Aug 2013 15:05:01
Message: <web.520a835622430c8a8a7c3700@news.povray.org>
Hi Stephen,

   After running through the simulations this way I discovered that with this
set up the first frame is just rendered 20501 times under sequential filenames.
For example it doesn't seem to load animate_00001.pov after finishing
animate_00000.pov, it just outputs animate_00000.bmp (from the first render) and
animate_00001.bmp (as the "second frame").. however both images are identical.
If I render 00000 and 00001 using the individual pov files (not using the
animation option in an ini file) the rendered BMPs are different (as they should



P.S. - For now, I've gone back to my batch file, but it takes much longer as it
(one at a time) opens the pov file, renders it, closes pov-ray, opens the next
pov file, renders it, closes the window, etc ,etc.

Stephen <mca### [at] aolcom> wrote:
> On 26/07/2013 8:51 PM, Peter wrote:
> > I'll update my file and give it a try. I have gotten a batch file working, but
> > the way its set up right now I have POV ray opening, rendering a scene (~1.7
> > seconds) and closing... then repeating over and over and over again.... besides
> > the risk of epileptic seizure, it would obviously be faster to either keep one
> > POV ray open and one after another pass the 20501 files through to be rendered
> > or to have pov-ray start minimized... at least that way the render time would be
> > decreased and I wouldn't have windows flashing every 1-2 seconds!
> There is a better way than running the files sequentially. You can use
> the animation feature. Here is a snipit of code from an ini file.
> Input_File_Name = animate_.pov
> Output_File_Name = animate_
> Initial_Frame = 0
> Final_Frame = 999999
> Subset_Start_Frame = 0
> Subset_End_Frame = 20501
>   /* I like to use an underscore between the name and the numbers for
> readability. */
> "Input_File_Name" calls your PovRay master file (which #includes your
> series of pov files"
> "Output_File_Name" is the base name of the rendered files.
> "Initial_Frame": Your start frame number. (Keep it 0)
> "Final_Frame" : Any number bigger than your largest frame number.
> "Subset_Start_Frame": Where you want to start rendering from.
> "Subset_End_Frame": Where you want to stop rendering.
> You don't need to use an ini file. You can use command line options.
> This method works for me.
> --
> Regards
>      Stephen

Post a reply to this message

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