|
![](/i/fill.gif) |
Skip Talbot wrote:
...
> Warp, I also tried your function and couldn't get it to show up. After
> getting a nice result with Alain's function I'm not going to dig too
> deeply into the math trying to get that function to work, but thanks.
Try this:
// ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7
#version 3.6;
#include "colors.inc"
// ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7
isosurface {
function { y - exp(-(x*x + y*y + z*z)) }
// function { y + exp(-(x*x + y*y + z*z)) }
// function { y - exp(-(x*x + z*z)) }
// function { y + exp(-(x*x + z*z)) }
// function { y - exp(-z*z) }
// function { y + exp(-z*z) }
contained_by { box { -<100, 1.1, 100>, <100, 1.1, 100> } }
pigment { color White }
}
light_source {
<1, 3, 2>*100
colour White
shadowless
}
camera {
location <4, 3, -1>
look_at <0, 0, 0>
}
// ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7
--
Tor Olav
http://subcube.com
Post a reply to this message
|
![](/i/fill.gif) |