POV-Ray : Newsgroups : povray.animations : concat problem : Re: concat problem Server Time
6 Oct 2024 11:44:00 EDT (-0400)
  Re: concat problem  
From: Fidel viegas
Date: 9 Sep 2002 06:53:13
Message: <B9A23B43.47D2%fidel.viegas@artrecognition.co.uk>
in article B99D41EB.413B%fid### [at] artrecognitioncouk, Fidel viegas at
fid### [at] artrecognitioncouk wrote on 5/9/02 5:16 pm:

> in article 3c62fa43$1@news.povray.org, Dennis Milller at
> dhm### [at] mediaonenet wrote on 7/2/02 11:02 pm:
> 
>> Yes! You are correct, and -3 works.
>> 
>> Next challenge:
>> I would like to read in a series of files starting with fig001.tga and
>> ending with fig100.tga
>> 
>> But whereas I would use "clock*100" in most cases, that does not work in the
>> string:
>> 
>> concat("d:\\povray\\penfilter\\fig", str(clock*100,-3,0), ".tga")
> 
> why not use the frame_number?
> that is:
> 
> 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.

Fidel.


Post a reply to this message

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