POV-Ray : Newsgroups : povray.general : Question about max_gradient : Re: Question about max_gradient Server Time
2 Aug 2024 08:10:50 EDT (-0400)
  Re: Question about max_gradient  
From: Mike Williams
Date: 8 Dec 2004 09:49:56
Message: <T2AHSBAISxtBFwHs@econym.demon.co.uk>
Wasn't it Loki who wrote:
>Sorry if this has been asked before, but I have a puzzling problem with an
>isosurface I am using.  When I trace the scene I get a warning that the
>max_gradient is about 8+ and I need to increase it or I'll get holes.  So I
>do, and trace again, but then I get a message saying max_gradient is 7.1
>and I should reduce it to make it trace faster.  This happens even though I
>haven't changed anything except the max_gradient value.  I can chase the
>max_gradient value around indefinitely but no matter what I do it always
>gives me either the 'too big' or 'too small' message and keeps changing.
>Why does this happen and is there anything I can do to correct it?

Don't worry about it as long as the surface looks OK. 

What's happening is that the isosurface evaluator makes a series of
guesses as to where a ray might intersect your isosurface, evaluates the
function there, and repetitively refines its guess until it is close
enough. It only observes the gradient values at the particular points
that it happens to evaluate. Increasing your max_gradient value has
shortens the steps between the guesses, thus changing the evaluated
locations, and it now happens to not perform any evaluations in the
region where the gradient is highest.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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