POV-Ray : Newsgroups : povray.general : Glass texture and interior problem : Re: Glass texture and interior problem Server Time
31 Jul 2024 16:26:49 EDT (-0400)
  Re: Glass texture and interior problem  
From: "Jérôme M. Berger"
Date: 20 Dec 2006 07:03:12
Message: <45892680$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Grassblade wrote:
> That's a pretty cool picture.
> The black background conspires with the dark blue to make the red much more
> apparent. Pick a lighter background colour like a neutral gray, or go all
> the way to white.
> Colour-wise, <0.0784, 0.1706, 1.0000> is somewhat different from <1.0000,
> 0.1706, 0.0784>, I mean, apart from the obvious hue change. In The Gimp the
> red <255,40,20> looks significantly brigther to me than the blue <20,40,255>
> (I obtained these values by multiplying your colour vector by 256). It could
> be just monitor settings, though. :p
> 
	It's not just your monitor settings: perceptually, the same value
is significantly darker if it's blue than red (and green is the
brightest). When computing the equivalent brightness for a colour,
you should use the following coefficients:

In the Gimp on a PC (Macs have different values):
brightness = blue * 0.11 + green * 0.54 + red * 0.35

In Povray the coefficients should be gamma corrected:
brightness = blue * 0.02 + green * 0.71 + red * 0.27

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeb### [at] freefr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeb### [at] jabberfr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFiSaAd0kWM4JG3k8RAtrNAJwN1la6adHtxe+T+y3Dl+NUvCCNrgCgh9wS
1iwgrJOOZ3ALTWvr0yFfeBg=
=t9co
-----END PGP SIGNATURE-----


Post a reply to this message

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