|
![](/i/fill.gif) |
Ron H. wrote:
>
> I'm sorry, I forgot to do that.
>
> I'm using WinNT4.0, and I'd like to perform this repetitive batch loop
> either in a java program or perhaps even in POVray's own language using
> POVray itself.
>
> Is this possible?
>
> Ron
>
Here it is again
#declare BaseName = "foo"
#declare Extension = ".pov"
#declare NameDigits = 8-strlen(BaseName); // or just put a number in
here for how many digits after the name
#declare LastFrame = 20;
#declare FirstFrame = 1;
#declare Frame = clock * (LastFrame-FirstFrame) + FirstFrame;
#declare FileName = concat( BaseName, str(Frame,-NameDigits,0),
Extension )
FileName will have values such as foo00001.pov, foo00002.pov etc.
Cheers, PoD
Post a reply to this message
|
![](/i/fill.gif) |