POV-Ray : Newsgroups : povray.general : Maximum gradient reached : Re: Maximum gradient reached Server Time
28 Jul 2024 22:16:21 EDT (-0400)
  Re: Maximum gradient reached  
From: Alain
Date: 2 Jan 2014 13:08:40
Message: <52c5ab28@news.povray.org>

> When rendering my scene I get a message:
>
> Shutdown Warning: The maximum gradient found was 2389459.250, but max_gradient
> of the isosurface was set to 10000.000. The isosurface may contain holes! Adjust
> max_gradient to get a proper rendering of the isosurface.
>
> I have adjusted the max_gradient to 2389459.250 in my scene but the warning
> persists. It seems like the maximum is hard-coded at 10000? There are black
> spots, or well... actually, most of it is black with a few spots that rendered
> with the correct color.
>
> I tried lowering the resolution of my heightfield from a 16-bit jpeg to an 8-bit
> png. It helped a little, "The maximum gradient found was 13859817.000". I
> would rather retain the high resolution though.
>
> Is there anything I can do to retain the resolution but lower the max_gradient?
>
>
>
Most of the time, such high gradients are caused by discontinuities: 
Places where you go sharply from a value to an other like going from 0 
to 1 on adjacent pixels of your image.

Use interpolate 1, linear interpolation.

Try bluring your source image and keep it as 16 bit gray scale PNG.

Alain


Post a reply to this message

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