|
|
Sorry, I didn't notice it was an old message.
But, anyway it should help others.
All the best
Fidel.
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")
>
> I assume the multiplier (*) is read as text? or maybe clock? (That may not
> be true...) But could you suggest a way to read in the sequence of images
> from 001 to 100?
> Thanks again very much,
> Dennis
>
> "Warp" <war### [at] tagpovrayorg> wrote in message
> news:3c62f500@news.povray.org...
>> Dennis Milller <dhm### [at] mediaonenet> wrote:
>> : I assume there is something wrong with the concat parameters (sorry, I
> don't
>> : know how to use #debug), but the "-2" above should pad "fig1" with two
>> : zeroes, as in: "fig001" correct?
>>
>> Nope. It makes the integer part 2 digits long with padded zeros if the
>> number is not big enough. That is, you get "fig01".
>> Try with -3.
>>
>> --
>> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
> x]
>> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
>> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
> Warp -
>
>
Post a reply to this message
|
|