POV-Ray : Newsgroups : povray.beta-test : Ground fog Server Time
2 Nov 2024 15:23:57 EDT (-0400)
  Ground fog (Message 1 to 2 of 2)  
From: Philippe Debar
Subject: Ground fog
Date: 25 Oct 2001 18:24:35
Message: <3bd89123@news.povray.org>
/*
Sorry I do not have time to write a proper bug report...

Problem (?) with ground fog = fog_type 2

default value for fog_alt is 0 gives very strange results. No wonder when
you see the formula in the doc, where there is a division by fog_alt.
Although the doc very clearly says you should specify a value for fog_alt,
it does not warn about these strange results, neither does the parser react
in any way.

Should it not be specified in the doc, or the default value changed ?

I guess this is probably old well known stuff, just wanted to make sure.

Very small scene follows. Just comment cameras to see various effects.



Povingly,

Philippe


Sys info :
POV-Ray 3.5 b6
Win 2k pro sp2
Ahtlon 1.2 GHz
512 MB DDR




*/

#version 3.5;

#global_settings{assumed_gamma 1}

#background{rgb <0,.5,1>}

camera{location -1*y} // red in the upper half
camera{location 0*y} // everything grey
camera{location 0.4*y} // everything grey with a brighter horizontal line
camera{location .5*y} // lower half grey
camera{location 1*y} // red in lower half


fog {
  fog_type 2
  /*fog_alt 0
  fog_offset 0*/
  color rgb <0,1,0>
  distance 80
}

// eof


Post a reply to this message

From: ingo
Subject: Re: Ground fog
Date: 26 Oct 2001 07:24:10
Message: <Xns914688575781Fseed7@povray.org>
in news:3bd89123@news.povray.org Philippe Debar wrote:

> Very small scene follows. Just comment cameras to see various
> effects. 
>
> camera{location -1*y} // red in the upper half
 I get, red top, green bottom

> camera{location 0*y} // everything grey
 I get, red top, green bottom

> camera{location 0.4*y} // everything grey with a brighter horizontal 
> line 
 I get, blue top, red bottom

> camera{location .5*y} // lower half grey
 I get, blue top, red bottom

> camera{location 1*y} // red in lower half
 I get, blue top, red bottom


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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