POV-Ray : Newsgroups : povray.windows : Colour Palette Tool : Re: Colour Palette Tool Server Time
28 Jul 2024 14:23:06 EDT (-0400)
  Re: Colour Palette Tool  
From: Bob and Kelly Crispen
Date: 13 Jan 1999 23:25:04
Message: <369D71A2.10C6089@hiwaay.net>
Welgan wrote:

> I made a small Windows utility that I find useful for povray.
> If you add it on to your tool menu, it will bring up the Window's
> colour palette and allow you to select a colour.  It then puts
> your colour on the clipboard in the form of:
> 
> rgb<0.2509,0.5019,0.5019>
> 
> so you can paste it into your code.

Lovely.  For other newbies who are just now catching up with this
newsgroup, here's what you do:

Go to the tools menu and select "Edit PVTOOLS.INI", then add the
following lines to Pvtools.ini:

[Menu]
...
Item8=&Color Palette

[Command]
...
Item8=$S %hutilities\pal2pov\pal2povcolour.exe

[Help]
...
Item8=Select a color from the palette

Obviously the pathname in Item8 will be the pathname where you
saved the file.  "%h" is the directory you installed POVRay for
Windows in, with a trailing backslash.

Equally obviously, if you've already got an Item8, name yours
Item9 -- duh!

Then select "Re-Load Tool Menu" from the Tools menu and you should
now see the entry.  Choose the color, select "Add to Custom Colors",
click "OK", and hit CTRL-V in the editor, and voilla!

Thank you very, very much, Cyrus.  Now I don't have to load up my
modeler just to change a color.
--
Bob & Kelly Crispen
cri### [at] hiwaaynet
"And I observe, when any Yahoo comes from London out of Curiosity [to]
visit me at mine own House, we neither of us are able to deliver our
Conceptions in a Manner intelligible to the other."


Post a reply to this message

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