POV-Ray : Newsgroups : povray.binaries.images : Atari Logo : Re: Atari Logo Server Time
2 Nov 2024 10:17:01 EDT (-0400)
  Re: Atari Logo  
From: Samuel Benge
Date: 24 Jan 2011 14:00:00
Message: <web.4d3dcb584cc34acfe32b58850@news.povray.org>
"Dave Blandston" <nomail@nomail> wrote:
> Hello,
>
> This is an old scene with some slight improvements. Getting the rainbow gradient
> right is tricky. Making a mathematically linear gradient doesn't seem to give
> visually linear results. The primary colors appear to dominate the secondary
> colors, causing uneven transitions. This scene uses a partial fix but it's still
> not perfect. I have seen what appear to be perfectly balanced rainbow gradients
> before - does anybody know the trick to getting it just right?

Somewhere (in the POV docs or elsewhere) you can find the relative intensities
for RGB values. I have no idea where to find that information anymore. I know
for a fact that green overpowers the other two.

Another thing you can try is to find an image of the gradient you want, and fill
up a color_map with the colors from it. You can use eval_pigment (slow), or you
can make a function from the image and test it directly. You might still have
gamma issues, but the result should be close to what you want.

~Sam


Post a reply to this message

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