|
|
I am trying to use a #while looped sphere in a blob object. for some reason
it just won't work. Here is the code ( i know it's ugly but I'm a moray
user trying to hand code)
declare R1 = seed(1297) ;
#declare StrengthVal = 1.0
#declare RadiusVal = 1.0
#declare BallCount = 1 ;
#while (BallCount < 1000)
#declare raindrops =
sphere
{
<rand(R1)*15, rand(R1)*40,rand(R1),StrengthVal,RadiusVal>
1
translate <-7.5,-20,-1>
material { water_tex1 }
pigment {color rgb <1,1,1>}
}
#declare R1 = seed (R1+R1/1.2);
#declare BallCount = BallCount+1 ;
#end
blob
threshold .65
raindrops <1,1,1,StrengthVal,RadiusVal> }
Post a reply to this message
|
|