POV-Ray : Newsgroups : povray.binaries.utilities : POV-Ray Color picker Server Time
9 Oct 2026 04:36:04 EDT (-0400)
  POV-Ray Color picker (Message 1 to 14 of 14)  
From: Mahalis
Subject: POV-Ray Color picker
Date: 18 Nov 2001 11:40:31
Message: <3bf7e47f$1@news.povray.org>
A small utility that saves you the time of coding those long, troublesome
'rgb<x,x,x>' statements <g>
Extract the app and DLL, put it on the tools menu if you like, and give it a
try. Don't worry, it doesn't bite ;-)

--

//Mahalis
camera{location<0,0.25,-2> look_at 0.5*y} #declare T=texture{pigment{crackle
scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
--


Post a reply to this message

From: Ken
Subject: Re: POV-Ray Color picker
Date: 18 Nov 2001 12:02:47
Message: <3BF7EA00.A172E0CB@pacbell.net>
Mahalis wrote:
> 
> A small utility that saves you the time of coding those long, troublesome
> 'rgb<x,x,x>' statements <g>
> Extract the app and DLL, put it on the tools menu if you like, and give it a
> try. Don't worry, it doesn't bite ;-)

It doesn't work :(

-- 
Ken Tyler


Post a reply to this message

From: Jan Walzer
Subject: Re: POV-Ray Color picker
Date: 18 Nov 2001 12:08:31
Message: <3bf7eb0f@news.povray.org>
"Mahalis" <don### [at] fakeycom> wrote:
           ^^^^^^^^^^^^^^^^^^^^^-----You think this is ok ?

> A small utility that saves you the time of coding those long, troublesome
> 'rgb<x,x,x>' statements <g>

You Have _NOT_ Been Raytracing To Long if you need a special app to create
a rgb<> statement ...

BTW: can you give some hints, where to extract it from ?

--
Jan Walzer <jan### [at] lzernet>


Post a reply to this message

From: Mahalis
Subject: Re: POV-Ray Color picker
Date: 18 Nov 2001 12:30:20
Message: <3bf7f02c@news.povray.org>
Ah well..
Better?


Post a reply to this message


Attachments:
Download 'cpick.zip' (694 KB)

From: Jan Walzer
Subject: Re: POV-Ray Color picker
Date: 18 Nov 2001 12:39:01
Message: <3bf7f235@news.povray.org>
OMG ....
You need THIS ?....
there's not even a way to define my own color ...
only some predefined ones ...
.. sorry .. I don't by that ... I'll continue with
my colorpicker in my head ...

--
Jan Walzer <jan### [at] lzernet>


Post a reply to this message

From: Mahalis
Subject: Re: POV-Ray Color picker
Date: 18 Nov 2001 12:45:38
Message: <3bf7f3c2$1@news.povray.org>
Of course I don't need that. I was planning to expand it eventually, but
trying not to use the Common Dialog control...

"Jan Walzer" <jan### [at] lzernet> wrote in message
news:3bf7f235@news.povray.org...
> OMG ....
> You need THIS ?....
> there's not even a way to define my own color ...
> only some predefined ones ...
> .. sorry .. I don't by that ... I'll continue with
> my colorpicker in my head ...
>
> --
> Jan Walzer <jan### [at] lzernet>
>
>


Post a reply to this message

From: Trevor Quayle
Subject: Re: POV-Ray Color picker
Date: 18 Nov 2001 14:42:17
Message: <3bf80f19@news.povray.org>
Um, try this one by Andreas Gerdes.  I foget where I got it but I find it
quite handy.  it allows you to save you own colours, and (my favourite), use
the colour picker mode to pick colours out of images on your screen.

-tgq

"Mahalis" <don### [at] fakeycom> wrote in message
news:3bf7f3c2$1@news.povray.org...
> Of course I don't need that. I was planning to expand it eventually, but
> trying not to use the Common Dialog control...
>
> "Jan Walzer" <jan### [at] lzernet> wrote in message
> news:3bf7f235@news.povray.org...
> > OMG ....
> > You need THIS ?....
> > there's not even a way to define my own color ...
> > only some predefined ones ...
> > .. sorry .. I don't by that ... I'll continue with
> > my colorpicker in my head ...
> >
> > --
> > Jan Walzer <jan### [at] lzernet>
> >
> >
>
>


Post a reply to this message


Attachments:
Download 'ColorPicker.zip' (220 KB)

From: Mahalis
Subject: Re: POV-Ray Color picker
Date: 18 Nov 2001 17:57:15
Message: <3bf83ccb$1@news.povray.org>
Sheesh. You know, that's the second time I spent a while developing
something that nobody wants :-|


Post a reply to this message

From: JRG
Subject: Re: POV-Ray Color picker
Date: 18 Nov 2001 19:20:24
Message: <3bf85048$1@news.povray.org>
Sorry, I didn't have the time to test your prog. BTW does it use exclusively
RGB or also HSL (which artists usually prefer)? Why don't you add the
capability to make colormaps? That would be interesting for sure.

--
Jonathan.

"Mahalis" <don### [at] fakeycom> ha scritto nel messaggio
news:3bf83ccb$1@news.povray.org...
> Sheesh. You know, that's the second time I spent a while developing
> something that nobody wants :-|
>
>


Post a reply to this message

From: Mahalis
Subject: Re: POV-Ray Color picker
Date: 19 Nov 2001 06:48:26
Message: <3bf8f18a$1@news.povray.org>
It uses exclusively RGB at the moment. If I switch to the Common Dialog
control (as opposed to my own GUI), that already implements HSL.
Colormaps... I might be able to shell out to POV-Ray and get a preview of
the texture. Or I might not ;-)

"JRG" <jrg### [at] hotmailcom> wrote in message
news:3bf85048$1@news.povray.org...
> Sorry, I didn't have the time to test your prog. BTW does it use
exclusively
> RGB or also HSL (which artists usually prefer)? Why don't you add the
> capability to make colormaps? That would be interesting for sure.
>
> --
> Jonathan.
>
> "Mahalis" <don### [at] fakeycom> ha scritto nel messaggio
> news:3bf83ccb$1@news.povray.org...
> > Sheesh. You know, that's the second time I spent a while developing
> > something that nobody wants :-|
> >
> >
>
>


Post a reply to this message

From: JRG
Subject: Re: POV-Ray Color picker
Date: 19 Nov 2001 14:09:09
Message: <3bf958d5@news.povray.org>
Mahalis wrote:
> It uses exclusively RGB at the moment. If I switch to the Common Dialog
> control (as opposed to my own GUI), that already implements HSL.

Please don't do that. I can't stand it. :)

--
Jonathan


Post a reply to this message

From: Jon A  Cruz
Subject: Re: POV-Ray Color picker
Date: 20 Nov 2001 01:17:49
Message: <3BF9F505.E4E3E2F9@geocities.com>
Mahalis wrote:

> It uses exclusively RGB at the moment. If I switch to the Common Dialog
> control (as opposed to my own GUI), that already implements HSL.
> Colormaps... I might be able to shell out to POV-Ray and get a preview of
> the texture. Or I might not ;-)

Or you could just do it in Java.  :-)

http://java.sun.com/docs/books/tutorial/uiswing/components/colorchooser.html

Dang. Off-hand I can't find the code for the one I started. Not too hard
though.


--
Jon A. Cruz
http://www.geocities.com/joncruz/action.html


Post a reply to this message

From: Mahalis
Subject: Re: POV-Ray Color picker
Date: 20 Nov 2001 06:27:21
Message: <3bfa3e19$1@news.povray.org>
Ach.. I don't 'do' Java. VB's my language.

"Jon A. Cruz" wrote...
> Or you could just do it in Java.  :-)


Post a reply to this message

From: Jon A  Cruz
Subject: Re: POV-Ray Color picker
Date: 20 Nov 2001 10:40:46
Message: <3BFA78F4.4FCFF51F@geocities.com>
Mahalis wrote:

> Ach.. I don't 'do' Java. VB's my language.
>
> "Jon A. Cruz" wrote...
> > Or you could just do it in Java.  :-)

You should learn it. The more you learn other languages, the better you
become. And the cost is right. Plus, it will give you a leg up if you
ever decide to upgrade to the next version of .NET VB, C# and all that
(since C# is Java modified to support COM, etc).

Then also you'd end up with a single binary that would run on Windows,
Mac OS 9, Mac OS X, Linux, Solaris, Irix... probably the majority of the
POV-Ray community.

--
Jon A. Cruz
http://www.geocities.com/joncruz/action.html


Post a reply to this message

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