POV-Ray : Newsgroups : povray.newusers : making sky only : Re: making sky only Server Time
30 Jul 2024 18:22:40 EDT (-0400)
  Re: making sky only  
From: Marc Jacquier
Date: 20 Nov 2003 03:19:32
Message: <3fbc7914$1@news.povray.org>
OK I got it,
The pigment used by S_Cloud2 is a gradient y one: value increases from  0 at
y=0 to 1 at y=1 ( assuming it is not scaled) then falls to 0 at y>1
increasing again to 1 at y=2 and so on
the value describes a sawtooth patern as you can see on this image
http://users.skynet.be/bs936509/povfr/materiaux/mat-mot-geo-01.htm
so value is 1 at y <0.
It is a new behaviour of gradient in POV 3.5
try using planar instead

#declare S_Cloud2 =
sky_sphere {
    pigment {planar
        pigment_map {
            [0.00 rgb <0.847, 0.749, 0.847> ] // horizon
            [0.10 SkyBlue ]                   // horizon
            [0.20 P_Cloud4 ]
        }
    }
}


HTH

Marc


Post a reply to this message

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