POV-Ray : Newsgroups : povray.general : isosurface and max_gradient : Re: isosurface and max_gradient Server Time
18 May 2024 06:30:16 EDT (-0400)
  Re: isosurface and max_gradient  
From: Bald Eagle
Date: 4 May 2024 15:00:00
Message: <web.66368590a112dc231f9dae3025979125@news.povray.org>
kurtz le pirate <kur### [at] gmailcom> wrote:

> Ouch!!! What justifies such a gigantic max_gradient?

What is a gradient?

I would would speculate that since you have 6 terms that define 6 separate and
distinct surfaces, that you have a lot of discontinuity in that equation.

And this is why we can't use the object pattern as a function for an isosurface
very well, because it has an "infinite" gradient right where the object stops
and nothing begins.

I'll bet that if you made graphs of the x, y, and z directions you'd see what I
mean.  Do central differences to calculate a slope.

I would also imagine that if you broke that equation up into 6 separate
isosurfaces, they would all behave a lot better.

- BE


Post a reply to this message

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