POV-Ray : Newsgroups : povray.animations : Batch many .pov-Files Server Time
23 Nov 2024 15:07:51 EST (-0500)
  Batch many .pov-Files (Message 1 to 4 of 4)  
From: Chrisir
Subject: Batch many .pov-Files
Date: 7 Nov 2007 17:35:00
Message: <web.47323c7cfc4b0aa3898803cd0@news.povray.org>
Hello all!

I have a question concerning making a movie with pov-ray.
I know pov-ray has huge inbuild abilities to do so.
For several reasons I now need to build a movie without
those abilities.
Instead I would like to give pov-ray let's say 6000
pov-files with different names (eg. a000001.pov, a000002.pov...)
and let it parse those.
I noted that I can drop max. 500 files.
I also noted that in a batch mode, pov-ray doesn't close properly before my
batch-file gives the next file to pov-ray.
How can I tell pov-ray to take all 6000 pov-files in a folder (c:\BATCHFILES)
and render images out of them?

Thanks!

Greetings

Chrisir


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Batch many .pov-Files
Date: 7 Nov 2007 18:03:04
Message: <47324428@news.povray.org>

> Hello all!
> 
> I have a question concerning making a movie with pov-ray.
> I know pov-ray has huge inbuild abilities to do so.
> For several reasons I now need to build a movie without
> those abilities.
> Instead I would like to give pov-ray let's say 6000
> pov-files with different names (eg. a000001.pov, a000002.pov...)
> and let it parse those.
> I noted that I can drop max. 500 files.
> I also noted that in a batch mode, pov-ray doesn't close properly before my
> batch-file gives the next file to pov-ray.
> How can I tell pov-ray to take all 6000 pov-files in a folder (c:\BATCHFILES)
> and render images out of them?
> 

I remember this trick that has been posted before.

Make a pov file containing this:

#include concat("a", str(frame_number, -6, 0), ".pov");

Render it with Final_Frame=6000 (+kff6000) and it render files 
a000001.pov to a006000.pov.


Post a reply to this message

From: Kyle
Subject: Re: Batch many .pov-Files
Date: 8 Nov 2007 08:28:18
Message: <5l36j31a4o5jms7dbosfq54l8gs3f8v66p@4ax.com>
On Wed, 07 Nov 2007 20:02:59 -0300, Nicolas Alvarez
<nic### [at] gmailisthebestcom> wrote:

>I remember this trick that has been posted before.
>
>Make a pov file containing this:
>
>#include concat("a", str(frame_number, -6, 0), ".pov");
>
>Render it with Final_Frame=6000 (+kff6000) and it render files 
>a000001.pov to a006000.pov.

I don't have a need for this right now, but just wanted to say that it's a neat trick
that I probably wouldn't have thought of.  It's too obvious!


Post a reply to this message

From: Chrisir
Subject: Re: Batch many .pov-Files
Date: 10 Nov 2007 08:45:01
Message: <web.4735b5c971d22c02426d530e0@news.povray.org>
That's is very nice!

Thank you very much!

Greetings,

Chrisir


Post a reply to this message

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