|
|
in article 3d7c857a@news.povray.org, Warp at war### [at] tagpovrayorg wrote on
9/9/02 12:26 pm:
> Fidel viegas <fid### [at] artrecognitioncouk> wrote:
>>> concat("d:\\povray\\penfilter\\fig", str(frame_number, -3, 0), ".tga")
>>>
>>> if you set your initial frame to 1 and your final frame to 100, you will get
>>> fig001.tga to fig100.tga.
>
>> correction, it will generate fig1.tga to fig100.tga.
>
> Are you sure? A small test:
>
> #declare Ind = 1;
> #while(Ind <= 20)
> #debug concat("fig", str(Ind, -3, 0), ".tga\n")
> #declare Ind = Ind+1;
> #end
>
> This prints "fig001.tga" to "fig020.tga".
You are correct, I used a 0 instead of -3 in str.
Apologies
Fidel.
Post a reply to this message
|
|