POV-Ray : Newsgroups : povray.general : Gradient? : Re: Gradient? Server Time
11 Aug 2024 17:20:46 EDT (-0400)
  Re: Gradient?  
From: ingo
Date: 10 Jun 1999 04:36:42
Message: <375f791a@news.povray.org>
Ron Parker heeft geschreven in bericht <375ee0bd@news.povray.org>...

>The problem is that 'gradient y' maps the interval from y=0 to y=1
>into the default color map, which is {[0 rgb 0][1 rgb 1]} for the gradient
>pattern.  This happens even when the gradient is specified within a pigment
>map.  This means that where y=.5, the color will be 50% gray.


Obvious. I should have known this.

>There's an easier way to do this, too, if this result is really what you're
>looking for and you haven't simplified it for the sake of debugging:

Ah, this is indeed what I'm looking for. I came from a situation with several
gradients. Then a strange circular thinking pattern keeps you from seeing the
simple solution :(

Thanks Ron.

ingo
--
Met dank aan de muze met het glazen oog.


Post a reply to this message

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