POV-Ray : Newsgroups : povray.beta-test : Philosophical objection to fog distance=0 : Re: 3.1g & 3.5 bug report Server Time
30 Jul 2024 18:17:24 EDT (-0400)
  Re: 3.1g & 3.5 bug report  
From: Jérôme Grimbert
Date: 7 Nov 2001 11:45:02
Message: <3BE9655D.3B8AB190@atosorigin.com>
Warp wrote:
> 
> Greg M. Johnson <"gregj56590[:-0]"@aol.com> wrote:
> : I think that the proposed change to the equation would give an intuitively
> : pleasing response to what you'd think of if the "visibility were zero" in a
> : fog.
> 
>   I don't understand why is it so difficult to just write a 1e-10 instad
> of 0.

I agree. Stop tweaking formulae/equation, there is already enough bugs in
them already without adding 'pleasant kludge "because I want it to be 0"'.
Rather protect at parse time: if value is not strictly positive, reports Error
and stop parsing.

Or for the strange people which wants to play with negative fog (what is it, 
I do not know), protect only against 0.0 , if they are really to be pleased.


Post a reply to this message

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