Re: [CsMain] Reflectivity of a surface

res <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.general
Message-ID <[email protected]>
On 18.06.2010 19:06, Eduardo Poyart wrote:
> Can't Mohit's tool do the same? In other words, it could read the
> texture and use it as the answer to his question of what percentage of
> photons are reflected from a surface.

Part of the issue is that the diffuse texture combines two pieces of
information - the reflectivity and the color. (Compare: dark red vs
bright red - same base color, but different perceived reflectivity.)

But well, if I had to invent a way that only uses that diffuse texture,
I would try to extract these two bits from the combined texture color
(like, normalize color value + use factor relative to original color as
the reflecitivity).

-f.r.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo

_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwbq5wACgkQNCTzcE/07ezLgwCZAYF76P28t5w8sBLIUsj2o+BF
YNIAn38jU+mSXNmkabAYoA9iNNBa43qe
=qzwD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.