|
![](/i/fill.gif) |
Niccolo wrote:
> Im pretty new... a link below is the code... how would i implement this?
I *think* it'll give you what you want if you make the following changes:
Move the entire line with the "box" declaration to just after the line
that reads "intersection {"
Then change that word "intersection" to "difference."
difference {
box{<1,1,1>, <50,50,50> pigment {MediumSpringGreen}}
blob {
threshold 0.866
sphere{<1,1,1>, 1.68, 1 pigment {Green} }
sphere{<1,1,2>, 1.68, 1 pigment {Green} }
sphere{<1,1,3>, 1.68, 1 pigment {Green} }
...
That will give you green pixels in all the places in the box that are
not in the spheres. See if it looks like what you'd expect.
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
![](/i/fill.gif) |