POV-Ray : Newsgroups : povray.binaries.images : Generating Good Skies : Re: Generating Good Skies Server Time
7 Aug 2024 15:15:04 EDT (-0400)
  Re: Generating Good Skies  
From: Mike Kost
Date: 2 Feb 2006 11:11:02
Message: <43e22f16@news.povray.org>
Skip Talbot wrote:
> You've got the colors down... now you just need another gradient running
> in the opposite axis to wash them out.  I always fake the sun with a
> spherical texture too:
> 
> http://www.drugrecognition.com/skip/3d/highres/st400-2.jpg
> 
> Skip

Skip,

Great idea to get the dimming effect. I took a quick swing at it and I like
the results...

Here's my sky_sphere:

  sky_sphere {
      pigment {
          function { max(min(y,1),0) }
          color_map { cm_realsky_01 }
      }
      scale (1/2)
      pigment {
          function { abs(max(min(x,1),-1)) }
          color_map {
              [ 0.0 rgbt <0.1, 0.1, 0.1, 1.0> ]
              [ 0.2 rgbt <0.1, 0.1, 0.1, 1.0> ]
              [ 0.6 rgbt <0.1, 0.1, 0.1, 0.9> ]
              [ 1.0 rgbt <0.1, 0.1, 0.1, 0.6> ]
          }
      }  
  }


Mike
--
http://povray.tashcorp.net


Post a reply to this message


Attachments:
Download 'final2.jpg' (25 KB)

Preview of image 'final2.jpg'
final2.jpg


 

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