POV-Ray : Newsgroups : povray.newusers : Simple isosurface : Re: Simple isosurface Server Time: 19 Aug 2019 13:56:41 GMT
  Re: Simple isosurface  
From: Bald Eagle
Date: 8 Mar 2016 04:55:00
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

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.