|
![](/i/fill.gif) |
You seem to be doing several things wrong.
1) The syntax of a spherical component is:
sphere{<Center>, Radius, Strength}
2) Your "raindrops" is a declared object, while you try to reference it somewhat
like a macro in the blob body. Can't be done.
3) "raindrops" it is just the last sphere the #while generates, since the object
is simply redeclared with each loop.
I would go about it roughly like this (simplified version):
#declare S=seed(1121);
#declare Rad=1;
#declare Strength=1;
#declare Num=10;
#declare C=0;
blob{
threshold .75
#while (C < Num)
sphere{<rand(S),rand(S),rand(S)>, Rad, Strength}
#declare C=C+1;
#end
texture{whatever}
}
Post a reply to this message
|
![](/i/fill.gif) |