|
![](/i/fill.gif) |
"Mike" <nomail@nomail> wrote in message
news:web.3d6180f36bb2fa2e8b0b6f760@news.povray.org...
<snip>
Here ya go....
#include "colors.inc"
light_source {
0*x
color rgb <1,1,1>
translate <-20, 40, -20>
}
camera {
location <1, 1, -4.0>
look_at <0.0, 0.0, 0.0>
}
#declare fn_X = function(x,y,z) { x*x + y*y +z*z - 1 }
#declare iso_sphere =
isosurface {
function { fn_X(x, y, z) }
contained_by { box { -1.2, 1.2 } }
accuracy 0.001
max_gradient 4
// uncomment either of the following 2 lines to repair the CSG
//max_trace 2
//all_intersections
}
difference{
object{iso_sphere}
object{iso_sphere translate<0.75,0.75,-0.75>}
pigment{Green}
}
Post a reply to this message
|
![](/i/fill.gif) |