POV-Ray : Newsgroups : povray.news-submissions : Tweek Colours: for intuitive finding the right colour : Tweek Colours: for intuitive finding the right colour Server Time
13 Aug 2022 13:57:44 EDT (-0400)
  Tweek Colours: for intuitive finding the right colour  
From: John Greenwood
Date: 17 Jul 2015 14:25:01
Message: <web.55a94716d8716132a7cafab50@news.povray.org>
I have spent far too much time on this! but I thought others might find it

I find getting the right colour for an object by changing RGB values is
non-intuitive and slow. There are declared colours available in various include
files but, unless the colour you want is included and you know its name, you are
back to an anonymous RGB value. To over come this I have written a macro that
allows you to name a starting colour something like what you want it and then
tweek it to make it a slightly different shade.

A fuller description can be found here:

The macro include file is:

and a programme for displaying an array of slightly different shades of a
starting colour:

I think this evolutionary process could be made much more elegant if the
selecting of the best colour could be done by pointing and clicking. I guess
that a "script" of some sort would be needed which would be a trivial task for
someone who knows how. I do not have the time nor the motivation to learn how to
do it myself.

I suppose it would be an .ini file that:

1 runs the .pov programme
2 inputs the coordinates where the user clicks on the display window,
3 runs the .pov programme again passing these coordinates to it.

and repeat.

I think this would be a useful general purpose tool.

John Greenwood

Post a reply to this message

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