POV-Ray : Newsgroups : povray.binaries.images : Media atmosphere for planet - why green sky? : Media atmosphere for planet - why green sky? Server Time
4 Nov 2024 13:04:35 EST (-0500)
  Media atmosphere for planet - why green sky?  
From: Jörg 'Yadgar' Bleimann
Date: 28 Mar 2010 16:11:21
Message: <4bafb7e9@news.povray.org>
High!

This weekend, I added a media atmosphere around my planet Ghurghusht... 
after some tinkering, I found out that generally, it works using 
scattering media only. But I wonder why the sky has such a strange color 
close to the horizon... and as I took a shot at the zenith, it turned 
out darker and duller than expected!

Here is the definition of the atmosphere:

#declare Atmosphere =
sphere
{
   0, 5190
   hollow
   material
   {
     texture
     {
       pigment
       {
         color rgbt 1
       }
     }
     interior
     {
       media
       {
         scattering { 1, <0.8, 0.8, 1>/80 }
         density
         {
           spherical
           density_map
           {
             [0     rgb <0.25, 0.5, 1>]
             [0.005 rgb <0.25, 0.5, 1>]
             [0.011 rgb <0.9, 1, 1>]
             [1    rgb <0.9, 1, 1>]
           }
         }
       }
     }
   }
}

See you in Khyberspace!

Yadgar


Post a reply to this message


Attachments:
Download '2010-03-28 ghurghusht, centlivres lacus from 1.7 metres, looking north, take1.jpg' (19 KB) Download '2010-03-28 ghurghusht, sky above centlivres lacus from 1.7 metres, take 1.jpg' (4 KB)

Preview of image '2010-03-28 ghurghusht, centlivres lacus from 1.7 metres, looking north, take1.jpg'
2010-03-28 ghurghusht, centlivres lacus from 1.7 metres, looking north, take1.jpg

Preview of image '2010-03-28 ghurghusht, sky above centlivres lacus from 1.7 metres, take 1.jpg'
2010-03-28 ghurghusht, sky above centlivres lacus from 1.7 metres, take 1.jpg


 

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