POV-Ray : Newsgroups : povray.animations : concat problem : Re: concat problem Server Time
6 Oct 2024 11:32:20 EDT (-0400)
  Re: concat problem  
From: Warp
Date: 9 Sep 2002 07:26:51
Message: <3d7c857a@news.povray.org>
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".

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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