POV-Ray : Newsgroups : povray.advanced-users : Media and Opposite Colors Server Time
30 Jul 2024 20:30:23 EDT (-0400)
  Media and Opposite Colors (Message 12 to 21 of 51)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Ken
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 06:21:54
Message: <37F0965D.227ED5C3@pacbell.net>
Nieminen Juha wrote:

> > Read the rest of the thread and the answer shall be revealed to you...
> 
>   Sorry for the sarcasm...

You are forgiven my friend.

-- 
Ken Tyler
1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Remco de Korte
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 08:03:57
Message: <37F0AEF1.A59057DA@xs4all.nl>
Ken wrote:
> 
> Ron Parker wrote:
> 
> > Cyan is the opposite of red.
> 
> Cyan = opposite of red = ok fine by me.
> 
> Thank you for your assistance gentlemen.
> 
> --
> Ken Tyler
> 1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html

That depends. In rgb-calculations cyan is the opposite of red, if for instance
you were using another hightech multimedia-tool like for instance fingerpaint
you'd have green as the opposite of red.
This is part of a list that seems rather inconsistent in rgb-vectors:
red    <-> green   <1,0,0> <-> <0,1,0>
blue   <-> orange  <0,0,1> <-> <1,.5,0>
yellow <-> purple  <1,1,0> <-> <1,0,1>

And even then this is just an arbitrary definition of these colors (is purple
really <1,0,1> or perhaps <.5,0,1>?).

There's no cyan here, nor fuchsia or whatever.
Also with fingerpaint adding more paint doesn't make the color brighter.

This gives you the impression that this way of working with colours is a bit
retarded, but still, that's how it was done for centuries? 
Of course rgb is based on a more scientific interpretation of the behaviour of
light. Fortunately art (?) needn't be dictated by science.

Just my 2 eurocents...

Remco


Post a reply to this message

From: Margus Ramst
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 08:11:21
Message: <37F0B044.F7DC4429@peak.edu.ee>
Ron Parker wrote:
> >so -
> >
> >rgb<1,1,1> - rgb<1,0,0> = rgb <0,1,1> = opposite color ?
> 
> Exactly.
> 
> Cyan is the opposite of red.

The only problem being when the original colour is not full intensity, i.e.
something like rgb <.5,0,0>

rgb<1,1,1> - rgb<.5,0,0> = rgb<.5,1,1>

which is of course spectrally correct, but much brighter than the original.

I simply use my HSL macros (I've all but abandoned RGB)
This is what I do:

hsl(OriginalHue-0.5, S, L) = hsl(OppositeHue, S, L)

If the original hue is <0.5 add 0.5 instead of subtracting. The brightness of
the colour remains the same, which is especially important in media.

Margus


Post a reply to this message

From: Nieminen Juha
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 09:18:59
Message: <37f0c043@news.povray.org>
When we talk about lights, the colors are additive, while when we are
talking about paint, the colors are substractive.
  We should know which color system we are using before we can tell the
correct answer.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 09:21:18
Message: <37f0c0ce@news.povray.org>
Yes, the answer depends on whether we want the negative color (for
example, the negative color of white is black and vice-versa) or the
opposite hue (where the opposite of black is still black) where we have
to play with the hue instead of the rgb values.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: PoD
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 11:15:09
Message: <37F0DCCA.CFC15FE4@merlin.net.au>
Ken wrote:
> 
> Nieminen Juha wrote:
> >
> > Ken <tyl### [at] pacbellnet> wrote:
> >
> > :> (1 - OriginalColor)    ?
> >
> > : rgb<1,0,0> - rgb<1,0,0> = black.
> >
> >   Since when 1 has been equal to <1,0,0>?
> 
> Read the rest of the thread and the answer shall be revealed to you...
> 
> --
> Ken Tyler
> 1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html

But since when is 1 = <1,0,0> ?


Post a reply to this message

From: Ken
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 11:26:52
Message: <37F0DDD9.14012AAC@pacbell.net>
PoD wrote:

> But since when is 1 = <1,0,0> ?

All right people. I was wrong and I was hasty in my reply to TonyB.
I admit that rgb 1 = <1,1,1>. Is everybody happy now ?

-- 
Ken Tyler
1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Ron Parker
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 11:47:41
Message: <37f0e31d@news.povray.org>
On Tue, 28 Sep 1999 08:25:13 -0700, Ken wrote:
>
>
>PoD wrote:
>
>> But since when is 1 = <1,0,0> ?
>
>All right people. I was wrong and I was hasty in my reply to TonyB.
>I admit that rgb 1 = <1,1,1>. Is everybody happy now ?

No, but if you send me money I'll be happier. :)


Post a reply to this message

From: Peter Popov
Subject: Re: Media and Opposite Colors
Date: 28 Sep 1999 23:26:50
Message: <D8zwN5UE8CenUeheI7006PWZ9vQ=@4ax.com>
On Tue, 28 Sep 1999 14:05:05 +0200, Remco de Korte
<rem### [at] xs4allnl> wrote:


>That depends. In rgb-calculations cyan is the opposite of red, if for instance
>you were using another hightech multimedia-tool like for instance fingerpaint
>you'd have green as the opposite of red.

I'm not sure but I think you are talking about the CMY(K) color model
which is a subtractive one as opposed to RGB which is additive.


Peter Popov
ICQ: 15002700


Post a reply to this message

From: Simen Kvaal
Subject: Re: Media and Opposite Colors
Date: 29 Sep 1999 07:15:35
Message: <37f1f4d7@news.povray.org>
>That depends. In rgb-calculations cyan is the opposite of red, if for
instance
>you were using another hightech multimedia-tool like for instance
fingerpaint
>you'd have green as the opposite of red.


This is not entirely true. There is a common misunderstanding, that additive
colors (light) behave different from subtractive (pigments). It is correct
that green is the opposite of red, but the misunderstanding lies in what is
"red" and what is "green".

Here is a show-off from a class I attended once. (This is for information,
and not to make a fool of anyone. It is not easy to come up with all this
one ones own; I know. :) )

Usually, you say that red, blue and yellow are mixed together to make black.
In pigment-theory, yellow is a primary color, which is true, because yellow
pigment is the pigment that reflects everything which is not blue! Red is a
primary color in both systems, however the color is not the same! Red is the
pigment that reflects all colors but green. The red pigment reflects
red+blue light when illuminated with white light, and thus "red" is not
actually red, but red+blue=magenta! "Blue" pigment is really cyan. We have:

"red" (magenta) pigment = <1, 1, 1> - green
yellow pigment = <1, 1, 1> - blue
"blue" (cyan) pigment = <1, 1, 1> - red

The opposite color is the color on the "other side" of the color wheel. Now,
we can see that red is the opposite of green in common language, but it is
actually magenta that is the opposite color of green and vice versa.

If you open the standard color-picking tool in Windows or any graphical
package, you can see the color-wheel, and verify this.

Observe that opposite colors also exists in light-systems, as opposite = <1,
1, 1> - original.

Simen.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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