POV-Ray : Newsgroups : povray.animations : concat problem : Re: concat problem Server Time
6 Oct 2024 11:12:33 EDT (-0400)
  Re: concat problem  
From: Fidel viegas
Date: 10 Sep 2002 19:58:33
Message: <B9A444E4.4845%fidel.viegas@artrecognition.co.uk>
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

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