|
|
but the particles itself don't have collision-det. between them, have they ?
--
plane{y,0 pigment{color rgb 1}}camera{location<1,5,-2>look_at
0}light_source{10 color 1}#macro m(a,b,c,n,i)#if(i=0)cylinder{a,b,c/3
pigment{color rgb z}}#else #local f=vlength(a-b)/32;#local d=(b-a)/8;#local
e=(vcross(d,n)/vlength(vcross(d,n)))*f*4;m(a-e,a+2*d+e,f,n,i-1)m(a+e,a+2*d-e
,f,n,i-1)m(a+3*d-e,a+3*d+e,f,n,i-1)m(a+3*d-e,a+5*d-e,f,n,i-1)
m(a+6*d-e,a+6*d+e,f,n,i-1)m(a+8*d-e,a+8*d+e,f,n,i-1)#end #end
m(-4*x,2*x,1/8,y,4) // Jan Walzer
Post a reply to this message
|
|