POV-Ray : Newsgroups : povray.general : Isosurface help : Re: Isosurface help Server Time
30 Jul 2024 12:32:07 EDT (-0400)
  Re: Isosurface help  
From: clipka
Date: 23 Jan 2009 12:55:00
Message: <web.497a0441fb628f71bdc576310@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> It's not the sharpness of the surface, but the rate of change of
> function that causes the max_gradient requirement. For example
>   function {x*x + y*y + z*z - 1}
> and
>   function {x*x*x*x + y*y*y*y + z*z*z*z - 1}
> produce identical surfaces, but the values of the second one rise more
> steeply, so there's a high max_gradient.

Are you sure you're correct on this one (I mean, in details)?

I would assume that as (x+y+z-1) gives different results than (x^2+y^2+z^2-1)
(the former is a plane, while the latter is a sphere), so would (x^4+y^4+z^4-1)
(some... quartic? Never tried it out)

I think
    function {500*x*x + 500*y*y + 500*z*z - 500}
comes closer to match the point you're making.


Post a reply to this message

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