|
|
Yes, the following piece of code, using eval_pigment, gets me a fatal parse
error: out of memory, while the same code by Kenneth, does not. tested with
version 3.7 beta 25.
union {
#while (counter <= 1500000)
#declare trace_position =
<rand(S1), 0, rand(S1)>;
#declare intersexion =
eval_pigment(mask2,trace_position);
#if(pow(rand(S2), .333) <= intersexion.red)
cone { <0, 0, 0>, 0.001, <0, 0.001, 0>, 0.0 translate
<trace_position.x,0,trace_position.z>}
#end
#declare counter = counter + 1;
#end
pigment{Black}
translate <-0.5,0,-0.5>
}
Thomas
Post a reply to this message
|
|