|
|
I didn't try Clipka's method, did get the intended result with max_trace 5 (or
all_intersections). It was lack of all_intersections I was thinking might be the
problem. I'm not so good with isosurfaces.
Also textured only the CSG difference to slim the SDL down, and bounding boxes
trimmed down in size too.
difference {
isosurface {
function {
pow(x,2)+pow(y,2)+pow(z,2)-pow(1.1,2)
}
threshold 1
max_gradient 5
contained_by { box {<-2,-2,-2>, <2,2,2>} }
}
isosurface {
function {
(pow(x,2)+pow(y,2)+pow(z,2)-pow(0.9,2))
}
threshold 1
max_gradient 5
contained_by { box {<-2,-2,-2>, <2,2,2>} }
max_trace 2
//all_intersections
}
box {<-2,0,0>,<2,2,-2>}
texture {pigment {color rgb < 1, 0.9, 0.65>}}
}
Post a reply to this message
|
|