POV-Ray : Newsgroups : povray.newusers : Help with realistic sky? : Re: Help with realistic sky? Server Time
28 Jul 2024 20:34:03 EDT (-0400)
  Re: Help with realistic sky?  
From: mtxcoll
Date: 14 Aug 2007 16:15:01
Message: <web.46c20d262d883630773827f00@news.povray.org>
"Hildur K." <hil### [at] 3dcafemailevery1net> wrote:
> "mtxcoll" <mtx### [at] gmailcom> wrote:
> > Hi, I'm experimenting on POV-Ray trying to make a realistic Earth-like sky
> > using scattering media and need help finding a place to start. I haven't
> > found any good tutorials on how to accomplish this, and my own attempts
> > always seem to make the atmosphere look too dark or too bright.
> >
>

> might be helpful
>
> http://runevision.com/3d/povgoodies/
>
> Hildur

Thanks! This is pretty useful as a guide for how my atmosphere should look
like.  I was still hoping to use just media to create a sky, though, just
to see how it could be done. I've hit a major hiccup though: even though I
can get a consistently blue sky using Rayleigh scattering, when I try
combining it with Mie murky scattering the sun's glare is enormous and I
don't know how to reduce it. If I reduce the amount of light or density of
the atmosphere too much I end up with a black sky. Here's my scene file so
far:

  camera {
    location <-4, 0, 0>
    look_at <0, 0, 0>
    rotate y*0
    }

  light_source {
    <1000, 0, 0>
    rgb 3
    looks_like {
      sphere {
        <0,0,0>, 10
        pigment { color White }
        finish { ambient 1 }
        }
      }
    parallel
    point_at <0, 0, 0>
    rotate z*14
    }

  plane {
    y, -1
    pigment { color White }
    }

  sphere {
    <0,0,0>, 300
    pigment { transmit 1 }
    hollow
    interior {
      media { // Rayleigh scattering
        scattering {4, <50,128,194>/255*0.5}
        density { rgb 0.005 }
        }
      media { // Mie Murky scattering
        scattering {3, 1e-9}
        density {rgb 1e-9}
        }
      }
    }


Post a reply to this message

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