|
![](/i/fill.gif) |
Mike Williams <nos### [at] econym demon co uk> wrote:
> In the third example on this page I
> could just as well have used the x values from one spline and the z
> values from a spline of a different type.
>
> http://www.econym.demon.co.uk/isotut/more.htm
Ok I've read this page and I find it very interesting...but if I try to put
this piece of code in a .pov file the result isn't similar to the image in
this site...
my pov file is:
#include "colors.inc"
camera {
location <10, 10, -10>
look_at <0, 0, 0>
}
light_source { <25, 25, -100> color rgb 1 }
#declare S = function {
spline {
natural_spline
-1, < 0.5, 0, 0.0>,
-0.5, < 0.2, 0, 0.4>,
0.01, < 0.2, 0, 0.2>,
0.5, < 0.4, 0, 0.4>,
1, < 0.0, 0,-0.6>
}
}
isosurface {
function { y - S(x).x - S(z).z }
contained_by { box { -10, 10 } }
pigment{Red}
}
Have you got any idea?!?!
Thanks
Leo
Post a reply to this message
|
![](/i/fill.gif) |