POV-Ray : Newsgroups : povray.general : Scattering media & media_interaction : Re: Scattering media & media_interaction Server Time
3 Aug 2024 10:24:01 EDT (-0400)
  Re: Scattering media & media_interaction  
From: "Jérôme M. Berger"
Date: 14 Mar 2004 13:51:08
Message: <4054a99c$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	Well, scattering media also absorbs the light coming from behind it. So
my guess is that the bule is one of your white checkers as seen once the
red has been scattered out of the way of the camera.

		Jerome

Florian Brucker wrote:
| When rendering the following scene, I don't understand the results:
|
| If I use "media_interaction on" in the light_source, I got a red touch
| on the image (as expected due to the red scattering media).
|
| Whereas if I use "media_interaction off", I got a blue touch on the
| image. Where does this blue come from? I'd expect the image to look like
| no media was present at all when using "media_interaction off" on the
| only light_source in the scene (as scattering media only works when
| light is shining on it).
|
| Here's the scene:
| <POV>
| sphere {
|     0,1 hollow
|     pigment { uv_mapping checker rgb 0 rgb 1 scale 0.01  }
|     interior {
|         media {
|             scattering { 1,rgb <1,0,0> }
|             density { rgb 1 }
|         }
|     }
| }
| camera { location 0 look_at -z }
| light_source { 0, rgb 1 media_interaction off }
| </POV>
|
| Thanks for your help,
| Florian
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAVKmbqIYJdJhyixIRAqZvAJ9adbDi89DoHJ8mfjXHwN5OegaMLACeMDqk
PJ4vrvol9eXsCVc4VvUOZvw=
=O+ma
-----END PGP SIGNATURE-----


Post a reply to this message

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