In article <385c20b8@news.povray.org>, "Ed Kaiser"
<eka### [at] camdentdsnet> wrote:
> ...and how do you add it to and equation like x^2+y^2+z^2-1 ?
Just add it in.
Do something like this:
#declare MyPigmentFunction =
function {
pigment {agate
color_map {[0 color Black][1 color White]}
}
}
isosurface {
function {x^2+y^2+z^2 - 1 +
MyPigmentFunction(x, y, z)*0.5
}
threshold 0
...
}
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|