POV-Ray : Newsgroups : povray.newusers : halo command error : Re: halo command error Server Time
28 Jul 2024 16:22:32 EDT (-0400)
  Re: halo command error  
From: Tim Attwood
Date: 12 May 2008 20:58:55
Message: <4828e7cf@news.povray.org>
//----------------------------------------------------------------------
// A thin blue media, becoming lighter as it approaches
// the planet's surface.
//----------------------------------------------------------------------
#declare PlanetAtmosphere = sphere { <0,0,0>, 1
   hollow
   material {
      texture {
         pigment { rgbt <1,1,1,1> }
      }
      interior {
         media {
            emission <0,0,2>
            density {
               spherical
               color_map {
                  [0 rgb 0]
                  [0.05 rgb 1]
                  [1 rgb 1]
               }
            }
         }
         media {
            emission <2,2,0>
            density {
               spherical
               color_map {
                  [0 rgb 0]
                  [0.05 rgb 0.25]
                  [1 rgb 1]
               }
            }
         }
      }
   }
   scale 1.05
}


Post a reply to this message

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