POV-Ray : Newsgroups : povray.animations : concat problem : Re: concat problem Server Time
6 Oct 2024 11:46:42 EDT (-0400)
  Re: concat problem  
From: Fidel viegas
Date: 5 Sep 2002 12:19:54
Message: <B99D41EB.413B%fidel.viegas@artrecognition.co.uk>
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.

All the best

Fidel.


Post a reply to this message

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