Re: [CsMain] Reflectivity of a surface

res <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.general
Message-ID <[email protected]>
On 18.06.2010 08:26, Mohit Taneja wrote:
> Well by reflectivity I meant that if there are 1000 photons falling on a
> surface and its reflectivity is 0.64 than approximately 640 of them
> would be reflected off that surface and 360 of them would be absorbed..

Hmm... right now this isn't something CS explicitly manages.
Rather, in the realtime rendering, this is handled more or less
implicitly through the “diffuse” texture: it modulates the (direct)
lighting computed for some surface; so darker parts on the “diffuse”
texture cause darker lighting - which is perceived the same way as the
less photons from a lower reflective surface would be.

Not quite sure how to get the ‘reflectivity’ you want in this case.

If you have access to some literature on how “real” physical
renderers/raytracers approach this I strongly recommend you take a look
at it. Chances are there is some relatively simple yet good quality
approach I to this.

Or maybe Scott has some idea/knows more.

-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/

iEYEARECAAYFAkwbMxgACgkQNCTzcE/07ezBcgCgnsHDy2E94ixKo47o8iNnMh8N
2PoAn0QKK6K6lMYUfgJaSP/bzkjSYTVu
=Wqg5
-----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.