POV-Ray : Newsgroups : povray.general : Gradient over a sphere : Gradient over a sphere Server Time
31 Jul 2024 20:19:56 EDT (-0400)
  Gradient over a sphere  
From: motorsep
Date: 20 Sep 2006 11:40:00
Message: <web.4511605947c9c4c0a6c42ffe0@news.povray.org>
I am trying to make a gradient going from sky blue from the top to kind of
pink/yellow looking color on the bottom on a sphere object. So it's only
two colors, top is blue, bottom is orange with smooth transition in the
middle. Here is the rendering and code:

http://img231.imageshack.us/img231/3776/skysphereef9.jpg

pigment {
      gradient y
      color_map {
            [0.0   color rgb <0.313, 0.610, 1>]
      [1.0   color rgb <1, 0.887, 0.653>]
   }
     }

What do I do wrong? Why do I get bunch of gradients?


Post a reply to this message

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