|
![](/i/fill.gif) |
Well, we shouldn't expect it otherwise, since...
> blob {
> threshold 0.5
> #declare Length = 0;
> #while ( Length >= -30 )
> #declare Scale = 2;
..... this loop...
> #while ( Scale >= 0.25 )
>
> #end
..... is terminated here, without altering Scale from its initial value 2:
it'll never drop below 0.25, so making the execution everlasting.
> sphere { <0,0,0>, 20, 1 scale <1,1,0.9>
> translate <Length,0,0>
> scale Scale
> #declare Length = Length - 0.25;
> #declare Scale = Scale - 0.1;
>
> #end
>
> Let me know what you think, oh, and welcome to povray.
>
> ~Steve~
I think they should try this instead:
blob {
threshold 0.5
#declare Length = 0;
#while ( Length >= -30 )
#declare Scale = 2;
#while ( Scale >= 0.25 )
sphere { <0,0,0>, 20, 1 scale <1,1,0.9>
translate <Length,0,0>
scale Scale
}
#declare Scale = Scale - 0.1;
#end
#declare Length = Length - 0.25;
#end
}
Post a reply to this message
|
![](/i/fill.gif) |