POV-Ray : Newsgroups : moray.win : Bug: Fog GUI Labels : Bug: Fog GUI Labels Server Time
3 May 2024 00:11:38 EDT (-0400)
  Bug: Fog GUI Labels  
From: John D  Gwinner
Date: 24 Feb 2005 14:22:03
Message: <421e295b$1@news.povray.org>
I've been having a lot of problems with fog, and it looks to me as if the 
settings between the GUI and the exported code have flipped the offset and 
the altitude.

If I put in an offset of -100, and an altitude of 10, I get:

  fog_offset   -100.0
  fog_alt      10.0

That LOOKS correct on the face of it.  However, the POV Doc's says:

For ground fog, the height below which the fog has constant density is 
specified by the fog_offset keyword.

So 'offset' is more like 'altitude'.

The POV Doc's say: The fog_alt keyword is used to specify the rate by which 
the fog fades away.

So 'alt' isn't really an altitude, it's a rate of decay.

Maybe no one else has a problem with this but I really pounded my head 
against the keyboard on this one.  I would recommend changing the GUI labels 
somewhat to be more descriptive (given the same POV Ray keywords).

        == John ==


Post a reply to this message

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