|
|
Ken wrote in message <36CDEDD1.399182D7@pacbell.net>...
>PoD wrote:
>>
>> Hi Ken,
>> Not sure I understand your problem.
>> Do you mean something like
>>
>> #declare NextX = 0;
>> #while( NextX < 20 )
>> #delare Scale = 1+rand(Seed);
>> box{0,1 scale Scale}
>> translate <NextX,0,0>
>> #declare NextX = NextX + Scale
>> #end
>>
>> PoD.
>
>I thought it might be accomplished in a way similar to this but never
>would have thought to increment the counter with the scale value.
>I will check it out and see what happens.
>
> Thank you !
>
>--
>Ken Tyler
>
>mailto://tylereng@pacbell.net
It might help if you don't think of NextX as a counter, but as a position. We get used
to using #while because there is no #for, but it is a more general loop than that.
Gordon
<gbe### [at] birdcameroncomau>
Post a reply to this message
|
|