POV-Ray : Newsgroups : povray.general : Frame-Dependant Antialias-Values in an Animation : Re: Frame-Dependant Antialias-Values in an Animation Server Time
4 Oct 2024 17:07:06 EDT (-0400)
  Re: Frame-Dependant Antialias-Values in an Animation  
From: Anthony D  Baye
Date: 10 Jul 2014 14:05:01
Message: <web.53bed519f8c7b22877ac193c0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> The short answer is that unfortunately there's currently no way in
> POV-Ray itself to do that.
>
> --
>                                                           - Warp


You could make a simple batch script to render the same file X number of times:

A.bat -- or A.sh, depending on your system.
for X times do:
   if file B.<foo> exists do
       ./B.bat -- or ./B.sh...
   else
       povray <initialargs>
   end
end

B.bat -- ...
   // <iterationcount>
   povray <args>

and each time your file is run, your povray file checks the contents of file B
and rewrites it with an updated iteration count and a new command line.

if file B doesn't exist, assume the count is 0 and create a new file.  You could
do this in the same step as the overwrite procedure, since overwriting and
creating a new file are done the same way.

of course, you'd have to simulate the clock inside your pov file, because you
wouldn't be able to use the built-in animation arguments.

Just remember to
Regards,
A.D.B.


Post a reply to this message

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