POV-Ray : Newsgroups : povray.newusers : sun : Re: sun Server Time
15 May 2024 14:51:20 EDT (-0400)
  Re: sun  
From: Alain
Date: 13 Aug 2011 12:55:36
Message: <4e46ac88@news.povray.org>


Looking at your sky_sphere, I see that you are using a deprecated 
construction. You should use the actual syntax:

sky_sphere {
     pigment {
       gradient y
       color_map {
         [0.002 color rgb <0.0, 0.2, 1.0>]
//Use this if <= 0.02
         [0.002 color rgb <0.0, 0.1, 0.8>]// sharp transition
         [0.2   color rgb <0.3, 0.2, 0.2>]
//Use if >= 0.2
       }
       scale 2
       translate -1
     }
     pigment {
       bozo
       turbulence 0.65
       octaves 6
       omega 0.7
       lambda 2
       color_map {
           [0.0  color rgb <0.85, 0.85, 0.85>]
           [0.1  color rgb <0.75, 0.75, 0.75>]
           [0.5  color rgbt <1, 1, 1, 1>]
// Stay at that value for all values > 0.5
       }
       scale <0.2, 0.5, 0.2>
     }
     rotate -135*x
   }


Post a reply to this message

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