POV-Ray : Newsgroups : povray.general : Reading Consequtive Images : Re: Reading Consequtive Images Server Time
12 Aug 2024 09:27:45 EDT (-0400)
  Re: Reading Consequtive Images  
From: Bob Hughes
Date: 7 Mar 1999 19:32:25
Message: <36E31A58.11801619@aol.com>
I cancelled my previous reply post. I should not type when I get real
dumb.
Anyhow, the left-padded zeroes does work now for me in the Windows
version of 3.1d and your example is very easy.
Think everyone would want to see a direct frame number control.
Manipulation of the way the count goes would be good, every third frame
etc. output and the like.

PoD wrote:
> 
> #declare BaseName = "ev_a"
> #declare Extension = ".inc"
> #declare NameDigits = 8-strlen(BaseName); // or just a number
> #declare LastFrame = 575;
> #declare FirstFrame = 1;
> #declare Frame = clock * (LastFrame-FirstFrame) + FirstFrame;
> #declare FileName = concat( BaseName, str(Frame,-NameDigits,0),
> Extension )
> #debug concat(FileName,"\n")
> 
> Cheers, PoD.
> 
> PS
> It'd be much easier with access to POV's variables, such as frame number
> ;)

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
 mailto:inv### [at] aolcom?PoV


Post a reply to this message

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