POV-Ray : Newsgroups : povray.newusers : Batch job? Server Time
26 Nov 2024 17:33:12 EST (-0500)
  Batch job? (Message 1 to 6 of 6)  
From: Michael Robison
Subject: Batch job?
Date: 29 Feb 2004 15:53:55
Message: <40425163@news.povray.org>
Hello,

I'm doing a series of animations and plan on tacking them all together
using FMP.  When I'm doing quick dummy runs, it's not a problem to
wait inbetween INI runs, but when I increase the resolution and start
doing more frames per second, it's going to run into some time.  I would
like to be able to set up a simple queue so that POVRay will run one
right after the other, but I can't quite figure out how to do it.  I
shuffled
down through the menus and there was a file queue under render but
it didn't like me trying to add an INI file to it.  I looked in help and
under
the Tools Menu, I got the distinct impression it was telling me how to
run a batch but I was too darned dumb to figure it out.

Can I easily set up a batch queue to run a dozen INI files?  If so, how?

Thank you much,  Michael


Post a reply to this message

From: Marc Roth
Subject: Re: Batch job?
Date: 29 Feb 2004 17:54:53
Message: <40426dbd$1@news.povray.org>
Michael Robison wrote:
<snip>
> Can I easily set up a batch queue to run a dozen INI files?  If so, how?
> 
> Thank you much,  Michael
you can simply write a batch file like this:

<your povray directory>\pvengine.exe +H640 +W480 +A0.3 +Itest.pov 
+Otest.bmp +KI0 +KF1 +KFI1 +KFF25

just repeat this line for every pov-file you want to render

+H sets the height of the output picture
+W sets the width of the output picture
+A sets antialiasing
+I sets the file to be rendered (input)
+O sets the file to be written to (output)
+KI sets initial clock
+KF sets final clock
+KFI sets initial framenumber
+KFF sets final framenumber

you can read more about command-line switches in section 5.2 in the manual.

bye,
	Marc



---------------------------------
and god { location HEAVEN look_at EARTH } said: let there be a 
light_source { <SUN.x,SUN.y,SUN.z>, rgb SUNLIGHT }


Post a reply to this message

From: Michael Robison
Subject: Re: Batch job?
Date: 29 Feb 2004 18:06:03
Message: <4042705b@news.povray.org>
Thank you, Marc.  I think I understand the parameters.  How do I run
the batch file?  Do I execute it from an open POVRay program?  And
does the batch file need to have a special name and be in a special
location?  I apologize for being dense here.

Thanks again, Michael


"Marc Roth" <mar### [at] rothconsultcom> wrote in message
news:40426dbd$1@news.povray.org...
> Michael Robison wrote:
> <snip>
> > Can I easily set up a batch queue to run a dozen INI files?  If so, how?
> >
> > Thank you much,  Michael
> you can simply write a batch file like this:
>
> <your povray directory>\pvengine.exe +H640 +W480 +A0.3 +Itest.pov
> +Otest.bmp +KI0 +KF1 +KFI1 +KFF25
>
> just repeat this line for every pov-file you want to render
>
> +H sets the height of the output picture
> +W sets the width of the output picture
> +A sets antialiasing
> +I sets the file to be rendered (input)
> +O sets the file to be written to (output)
> +KI sets initial clock
> +KF sets final clock
> +KFI sets initial framenumber
> +KFF sets final framenumber
>
> you can read more about command-line switches in section 5.2 in the
manual.
>
> bye,
> Marc
>
>
>
> ---------------------------------
> and god { location HEAVEN look_at EARTH } said: let there be a
> light_source { <SUN.x,SUN.y,SUN.z>, rgb SUNLIGHT }


Post a reply to this message

From: Tim Nikias v2 0
Subject: Re: Batch job?
Date: 29 Feb 2004 18:39:11
Message: <4042781f@news.povray.org>
> Can I easily set up a batch queue to run a dozen INI files?  If so, how?

If you're using the Windows POV-Ray, there a button called "File queue" for
just the purpose you are describing...

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de


Post a reply to this message

From: Marc Roth
Subject: Re: Batch job?
Date: 29 Feb 2004 18:42:05
Message: <404278cd@news.povray.org>
Michael Robison wrote:

> Thank you, Marc.  I think I understand the parameters.  How do I run
> the batch file?  Do I execute it from an open POVRay program?  And
> does the batch file need to have a special name and be in a special
> location?  I apologize for being dense here.
> 
> Thanks again, Michael

just create a file with .bat ending and open it in your favourite 
tex-editor, e.g. notepad on windows. put in as many calls to 
pvengine.exe as you need and save it preferably in the same directory 
where your .pov-files are located. then just double-click on it and wait 
until the render is finished. oh and you need to add a /exit to the 
parameters or else povray will try to start one instanc for every .pov-file

bye,
	Marc


Post a reply to this message

From: Michael Robison
Subject: Re: Batch job?
Date: 2 Mar 2004 05:53:59
Message: <404467c7@news.povray.org>
Thanks, guys!

I had seen the render/file queue earlier and tried to use it but I was
being a doofus.  I entered the file name and it wouldn't take it but it
was because I needed to browse to it and select it.  It's setting up
queues fine now, which means I can sleep through the  night rather
than getting up to start another render.

Thanks again, Michael


Post a reply to this message

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