POV-Ray : Newsgroups : povray.general : gravity well : Re: gravity well Server Time
4 May 2024 16:10:46 EDT (-0400)
  Re: gravity well  
From: Grassblade
Date: 11 Oct 2007 14:25:00
Message: <web.470e698850ab97d7ad7ea8820@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> Why does Mike say this is the function for a gravity well?
> x*x - 0.002/y*y + z*z

Because he forgot parentheses. That expression simplifies to x*x-0.002+z*z,
which is a circle for every y, so a cylinder. Try x*x-0.002/(y*y)+z*z


Post a reply to this message

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