|
|
3.7.7.1.6 Invert Isosurface
Sometimes, when you render a surface, you may find that you get only the
shape of the container. This could be caused by the fact that some of the
build in functions are defined inside out.
We can invert the isosurface by negating the whole function:
-(function) - threshold
well I am close now, but using "open" opens to an inside that does not
render,
other wise without "open" the surface is flat.
need to use open but invert (i think).
how to impliment "-(function) - threshold" correctly?
render this to see so far:
isosurface {
function { (x*x) - (0.01/(y*y)) + (z*z) }
threshold 0
max_gradient 3
contained_by {box {<-1,-1,-1>, < 1, 0.0001, 1>}}
//open
texture {
pigment{ CadetBlue }
finish { ambient .4 }
}
scale 2
}
Post a reply to this message
|
|