POV-Ray : Newsgroups : povray.animations : reading in multiple POVs Server Time
18 Jun 2024 08:21:54 EDT (-0400)
  reading in multiple POVs (Message 1 to 4 of 4)  
From: Dennis Miller
Subject: reading in multiple POVs
Date: 31 May 2004 14:45:43
Message: <40bb7d57$1@news.povray.org>
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.

Dennis

-- 

-- 

dhm### [at] comcastnet
http://www.dennismiller.neu.edu


Post a reply to this message

From: Warp
Subject: Re: reading in multiple POVs
Date: 31 May 2004 18:46:52
Message: <40bbb5dc@news.povray.org>
That kind of script is very easy:

#include concat("frame", str(frame_number, -4, 0), ".pov")

and then run povray with +kff1000 (or whatever the number of frames
you have).
  It assumes the pov files are named frame0001.pov, frame0002.pov, etc.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Dennis Miller
Subject: Re: reading in multiple POVs
Date: 31 May 2004 19:02:16
Message: <40bbb978$1@news.povray.org>
Great. Thanks for your help.
D.

"Warp" <war### [at] tagpovrayorg> wrote in message
news:40bbb5dc@news.povray.org...
>   That kind of script is very easy:
>
> #include concat("frame", str(frame_number, -4, 0), ".pov")
>
> and then run povray with +kff1000 (or whatever the number of frames
> you have).
>   It assumes the pov files are named frame0001.pov, frame0002.pov, etc.
>
> -- 
> plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
> sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
> density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
> <1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: reading in multiple POVs
Date: 9 Jun 2004 19:53:27
Message: <40c7a2f7@news.povray.org>

news:40bbb5dc@news.povray.org...
> plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
> sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
> density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
> <1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -

Hey, I couldn't wait more so I rendered your signature. It's very cool.
sorry, I mean HOT (because of the fire) :)


Post a reply to this message

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