|
|
"Grassblade" <nomail@nomail> wrote:
> Because he forgot parentheses. That expression simplifies to x*x-0.002+z*z,
> which is a circle for every y, so a cylinder. Try x*x-0.002/(y*y)+z*z
GREAT!!!!!!!!!!!!! renders 2 reversed wells
but it wont let me intersection or difference out one half
and keeps whining about the function line:
starts rendering then half way thru error is:
Parse Error: Floating-point exception detected in function ''. Your function
either attempted a division by zero, used a function outside its domain or
called an internal function with invalid parameters.
difference {
isosurface {
function { (x*x) - (0.005/(y*y)) + (z*z) }
threshold 0
max_gradient 9
contained_by {box {<-1,-1,-1>, < 1, 1, 1>}}
open
texture {
pigment{ CadetBlue }
finish { ambient .4 }
}
scale 6
translate <0,0, 0>
}
box {<-1,-1,-1>, < 1, 1, 1>
scale 2
translate < 0, -2, 0>
}
}
what should one do here?
Post a reply to this message
|
|