POV-Ray : Newsgroups : povray.newusers : Simple isosurface : Re: Simple isosurface Server Time
19 Apr 2024 22:30:46 EDT (-0400)
  Re: Simple isosurface  
From: Bald Eagle
Date: 7 Mar 2016 23:55:00
Message: <web.56de5a74cc28218a5e7df57c0@news.povray.org>
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-2023 Persistence of Vision Raytracer Pty. Ltd.