|
|
Moon47 wrote in message <3981D8B6.57F746D5@earthlink.net>...
>I would love to see the code for the iso...
well, this code's a bit sloppy and ugly, but here it is.....
#declare major=+2.00;
#declare minor=+0.35;
#declare dis=+0.55;
#declare freq=9;
#declare a = function{cos(atan2(z,x)*freq)*dis}
#declare b = function{sin(atan2(z,x)*freq)*dis}
#declare c = function{(sqrt(x^2+z^2)-major-a)}
#declare d = function{sqrt((y-b)^2+c^2)-minor}
//one
#declare one=
isosurface
{
function {d}
contained_by{sphere {0,4.0}}
eval
method 2
threshold 0
pigment{color rgb 1}
finish {blinn .9 facets .3 reflection .95}
photons {target reflection on}
}
object{one}
Post a reply to this message
|
|