|
|
Among other things, Dave Matthews wrote:
> How did you decide whether there already was a sphere at a point? I
> mean, what did the POV code look like for that? I've been trying to do
> this, but my solutions are always very inefficient. I'm guessing that
> you store the locations in an array and compare (?)
Maybe test for "inside-ness" against a union of all spheres?
--
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby
Post a reply to this message
|
|