|
![](/i/fill.gif) |
I finally tried your functions, and they worked quite fine. Trouble is I
get a frayed surface near the y-axis, so I doubt I can use this for my
snail. Increasing accuracy doesn't work either.
Thanks, anyway. Bet I can use this for something else!
sig.
//Maple command:
//plot3d((1.2)^x * sin(y),x=-8..Pi,y=0..Pi,coords=spherical);
// spherical coords by Philippe Debar phi### [at] hotmail com
#declare CylRadius=function{sqrt(x^2+z^2)}
#declare Z = function{sqrt(x^2+y^2+z^2)}
#declare X = function{atan2(z,x)}
#declare Y = function{atan2(CylRadius(x,y,z),y)}
isosurface {
function {
(1.2)^X * sin(Y)-Z
}
accuracy .01
max_trace 1
threshold 0
clipped_by {sphere {0,10}}
pigment { rgb 1 } finish { specular .5 }
rotate 0*y
}
Post a reply to this message
|
![](/i/fill.gif) |