POV-Ray : Newsgroups : povray.newusers : fog_offset and fog_alt Server Time
28 Nov 2024 15:49:13 EST (-0500)
  fog_offset and fog_alt (Message 1 to 2 of 2)  
From: Marc-Hendrik Bremer
Subject: fog_offset and fog_alt
Date: 22 Jun 2000 19:36:28
Message: <3952a2fc@news.povray.org>
Hello,

I just wanted to throw some ground fog in my scene and therefor read the
docs about this again. Is it possible that they mix fog_offset and fog_alt
in some points?

They say, that the fog below fog_offset is constant and fades away with
fog_alt. But little later there is this sentence:
"At an altitude of Fog_Offset+Fog_Alt the fog has a density of 25%. The
density of the fog at height less than or equal to Fog_Alt is 1.0 and for
height y less than Fog_Alt is calculated by 1/(1 + (y - Fog_Offset) /
Fog_Alt) ^2).
But the fog should be constant below Fog_Offset, not below Fog_Alt?!?! Do I
miss something (it's already late ...), or is something mixed up?

Marc-Hendrik


Post a reply to this message

From: Bob Hughes
Subject: Re: fog_offset and fog_alt
Date: 23 Jun 2000 00:03:05
Message: <3952e179@news.povray.org>
"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
news:3952a2fc@news.povray.org...
| Hello,
|
| I just wanted to throw some ground fog in my scene and therefor read the
| docs about this again. Is it possible that they mix fog_offset and fog_alt
| in some points?
|
| They say, that the fog below fog_offset is constant and fades away with
| fog_alt. But little later there is this sentence:
| "At an altitude of Fog_Offset+Fog_Alt the fog has a density of 25%. The
| density of the

* fog at height less than or equal to Fog_Alt is 1.0 and for height y less
than *

| Fog_Alt is calculated by 1/(1 + (y - Fog_Offset) /
| Fog_Alt) ^2).
| But the fog should be constant below Fog_Offset, not below Fog_Alt?!?! Do I
| miss something (it's already late ...), or is something mixed up?

I believe the excerpt part might be wrong and was meant to say fog_offset
instead, so yes, I will agree with you.

Bob


Post a reply to this message

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