|
|
function { sqrt(pow(y,2) + pow(z,2)) - 5 }
Searching "povray cylinder isosurface"
yields:
http://www-f9.ijs.si/~matevz/docs/PovRay-3.50b/povdoc_082.html
Which says
To get a cylindrical surface we can use the following function.
function { sqrt(pow(x,2)- + pow(z,2)) - 1 }
In 2 dimensions it describes a circle, since it is constant in the 3rd
dimension, we get a cylinder:
So just replace x with y, and the last number is the radius.
Hope that helps.
Post a reply to this message
|
|