POV-Ray : Newsgroups : povray.newusers : making sky only : Re: making sky only Server Time
2 Nov 2024 17:20:22 EDT (-0400)
  Re: making sky only  
From: cg-hci novice
Date: 23 Nov 2003 04:45:01
Message: <web.3fc081832872e5c5d31a135c0@news.povray.org>
Marc Jacquier wrote:
>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 ]
>        }
>    }

Yes, this helps. Thanks for the tip.
>}
>
>
>HTH
>
>Marc
>


Post a reply to this message

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