POV-Ray : Newsgroups : povray.general : reading in multiple POVs : Re: reading in multiple POVs Server Time
2 Nov 2024 03:16:11 EDT (-0400)
  Re: reading in multiple POVs  
From: Christopher James Huff
Date: 31 May 2004 20:33:56
Message: <cjameshuff-704270.19340031052004@news.povray.org>
In article <40bb7d3c$1@news.povray.org>,
 "Dennis Miller" <dhm### [at] comcastnet> wrote:

> I'm creating an animation  (hopefully) using a modeler that exports a bunch
> of 3Ds files that I will batch convert in 3DWin into a bunch of POV files.
> There will be one file per frame and around 3 - 5,000 total frames. Does
> anyone have a script that can read in a numbered sequence of POV files and
> render them in turn? I suppose I could use the File Queue, but I believe
> that has an upper limit (or it used to in 3.1).
> In any event, I think a script would be most efficient.
> Thanks for any help with this.

Use a POV script...use the frame_number animation variable, plus the 
string processing functions to figure out the name of the file to 
include. Something like:

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

Maybe using 4 for the minimum number string length instead of 0, depends 
on how your files are named.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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