POV-Ray : Newsgroups : povray.newusers : sky bleaches out ?? : sky bleaches out ?? Server Time
5 Sep 2024 04:15:47 EDT (-0400)
  sky bleaches out ??  
From: MR
Date: 21 Nov 2001 08:17:16
Message: <3bfba95c$1@news.povray.org>
hello,

well i'm still working on my first scene.  its a view looking
out a window.  i've placed a plane about 1000 units off
for the sky, and then i knocked out a rookie-looking sky
texture in moray.

well, the sky looks ok at 100 units off with a 100 scale but
when i get the sky plane back to around 500 units back,
it turns a drab white color, and adjusting scale doesn't seem
to help.  i would appreciate it if someone could tell me what
i need to do to fix it.  i've distilled the code and here it is.

NOTE:  this is code that looks ok, but change the plane
distance to -400 and the scale to 400 and the white really
overwhelms the white.

#declare mysky =
material
    { texture
       { pigment
          { granite
            color_map
             {
               [ 0.0     rgbft <0.435294, 1.0, 1.0, 0.0, 0.0> ]
               [ 0.153025  rgbft <0.395833, 1.0, 1.0, 0.0, 0.0> ]
               [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
             }
            turbulence 1.0
            omega 0.3
            ramp_wave
          }
         finish
           { ambient .8
           }
       }
    }
plane
  { -z, -100
   material
     { mysky
       scale 100
     }
  }
light_source
  { <150, 250, 200> color rgb 5*<1, 1, 1>
  }
camera
  {  location   <1, 1.5, -6>
     look_at    <0, 1.3, 0>
     angle      45
  }

thank you, miker


Post a reply to this message

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