POV-Ray : Newsgroups : povray.beta-test.binaries : isosurface contained_by or evaluation problem : Re: isosurface contained_by or evaluation problem Server Time
31 Oct 2024 18:46:15 EDT (-0400)
  Re: isosurface contained_by or evaluation problem  
From: Christoph Hormann
Date: 6 Oct 2001 09:22:31
Message: <3BBF0674.D0444328@gmx.de>
Mike Williams wrote:
> 
> [...]
> 
> The actual gradient of a polynomial function in the order of n*x^(n-1).
> So the sort of gradients that you'll encounter at the edges of your
> container change something like this:
> 
> n=4, container <-3,3>, gradient 4*3^3 = 36
> n=6, container <-3,3>, gradient 6*3^5 = 1458
> n=6, container <-2,2>, gradient 6*2^5 = 192
> 
> Because your max_gradient is set *way* too low, the solver simply
> evaluates the function at the edges of the container. It believes the
> value of max_gradient that you've given it and knows that the nearest
> surface point can't be closer than
>  (calculated_value - threshold) / max_gradient
> so there are "obviously" no surface points within the box.
> 

Ahhh!

Sometimes you don't see the obvious even if it's right in front of you...
(see also p.b.i.)

So it's important to say that the max_gradient value should be larger than
the gradient *everywhere* in the container, not only near the actual
surface.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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