POV-Ray : Newsgroups : povray.newusers : Fog and Sky : Fog and Sky Server Time
29 Jul 2024 08:14:08 EDT (-0400)
  Fog and Sky  
From: wollinger
Date: 8 Apr 2006 13:40:01
Message: <web.4437f51ba6770f53e5847db0@news.povray.org>
Hi all,

I have a beginners Question on fog and sky handling:

I want to render a landscape in a rectangular geographic systen. That means
that I have "translate < 419020, 0, 279020>" for my height_field, camera
and so on. Do I also have to translate my sky and the fog? At least for the
fog I get an warning that I can't translate the up vector. It seems that I
dont have to do it for the fog but I get a sharp edge in the horizont where
the fog ends. Is there a way to have ground fog and a blue sky?

tnx
Wolfgang

my code for fog and sky:

// fog on the ground -------------
fog { fog_type   2
      //translate Fog_Center
      distance   7500
      color      rgbt <1,1,1,0.6>
      fog_offset 700
      fog_alt    100
    }

sky_sphere{
        //pigment {planar colour_map{[0,rgb <0.9,0.9,1>][1, rgb
<0.1,0.2,1>]}}
        pigment{P_Cloud4}
        //pigment {rgbt <1.0,1.0,1.0,(1-clock)>}
        //pigment {rgbt <1.0,1.0,1.0,0>}
        scale 2 //avoid repetion

        }


Post a reply to this message

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