|
|
Okay. That's it.
Thanks again for your help.
I'll look into debug.
Best,
D.
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3c630bd5@news.povray.org...
> You should learn to use the #debug stream to print what you are creating
> to the console. That is, create the file name you want to open and print
> this file name with #debug to see that it's correct. For example:
>
> #declare Filename = concat(whatever);
> #debug concat("Filename to read: ", Filename, "\n")
>
> This way you can check that what you are creating is correct.
>
> Anyways, your problem is that you are using clock*100. The first calue
> clock gets is 0, and 0*100 = 0. That is, you are getting the number "000",
> not "001".
>
> The easiest way of fixing this is to use frame_number instead of
clock*100.
> frame_number gets consecutive integer numbers starting from 1, and that's
> exactly what you want.
>
> --
> #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
|
|