POV-Ray : Newsgroups : povray.newusers : Multiple pov ray files Server Time
31 Oct 2024 23:31:10 EDT (-0400)
  Multiple pov ray files (Message 1 to 4 of 4)  
From: sitha
Subject: Multiple pov ray files
Date: 21 Nov 2006 01:25:00
Message: <web.45629b75c4b264754ac3566b0@news.povray.org>
Hi Everybody,
I am using the pov-ray to visualize building's displacement during
earthquake. Now I created houndreds of POV file to create a video clip. Pls
tell me how to run automatically all pov files in pov ray to create bitmap
files.

Thanks a lot in advance.

Regards,
Sitha.


Post a reply to this message

From: Florian Brucker
Subject: Re: Multiple pov ray files
Date: 21 Nov 2006 04:54:16
Message: <4562ccc8$1@news.povray.org>
Depends on the system you're using. If you're on Linux, for example, you
could use something like this:

	$ for scene in *.pov; do povray +w640 +h480 +a0.3 $scene; done

There's probably a similar mechanism on Windows. The Windows version of
POV-Ray has also a built-in render-queue, but I don't know if it's
reasonable to use it with hundreds of files. The documentation of the
render queue can be found here:

	http://povray.org/documentation/view/3.6.1/675/

If you've got more questions about this, make sure to include some
information about your operating system and the tools you use :)


HTH,
Florian


Post a reply to this message

From: Warp
Subject: Re: Multiple pov ray files
Date: 21 Nov 2006 05:49:40
Message: <4562d9c3@news.povray.org>
sitha <nsi### [at] excitecom> wrote:
> I am using the pov-ray to visualize building's displacement during
> earthquake. Now I created houndreds of POV file to create a video clip. Pls
> tell me how to run automatically all pov files in pov ray to create bitmap
> files.

  If your pov files are of the form "basename<number>.pov", then one
solution is to create a master pov file which uses 'frame_number' to create
a filename and then #include that file.
  Something along the lines of (untested code):

#include concat("basename", str(frame_number, -3, 0), ".pov")

  (That's everything that needs to be in that pov file.)
  It assumes that the files are named "basename001.pov", "basename002.pov"
and so on. Modify the parameters above if it's different in your case.

  You can then just run that master pov file using the command-line
parameter +kff200 (assuming there are 200 pov files to render; modify
the number as necessary). If you are using the Windows version of POV-Ray,
you can write that parameter in the command-line textfield at the top of
the window (at the right of the resolution selection menu).

-- 
                                                          - Warp


Post a reply to this message

From: sitha
Subject: Re: Multiple pov ray files
Date: 28 Nov 2006 22:40:00
Message: <web.456d000b65ee6e2d4ac3566b0@news.povray.org>
Hi,
I am very thankful for your help.

Regards,
Sitha.


Post a reply to this message

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