POV-Ray : Newsgroups : povray.general : <no subject> : Re: <no subject> Server Time
2 Aug 2024 10:25:25 EDT (-0400)
  Re: <no subject>  
From: "Jérôme M. Berger"
Date: 13 Nov 2004 12:46:26
Message: <41964872$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Skeety wrote:
| Anyone know why a flame (texture/material defined with media) will
show up
| perfectly with nothing (black) in the background...but as soon as
| I put a wall (plane) behind it...the flame disappears?
|
| I've verified that the object is in front of the wall...but not
sure why
| the wall makes it disappear.
|
	Because your wall is already white and emission media works by
adding the color of the media to whatever is behind. When pov tries
to add the color of the media to the white of the walls it stays white.

	Here's a picture showing this effect:
http://jeberger.free.fr/mpov/emission1.png

	The easiest way to get around this is to use megapov 0.7 which
includes a new type of emission media that fixes the problem. Here's
the result with this patch:
http://jeberger.free.fr/mpov/emission3.png

	Or if you want to stick with official pov, you will have to combine
an absorbing media along with the emission and get this result:
http://jeberger.free.fr/mpov/emission2.png

	The code for these examples is at:
http://jeberger.free.fr/mpov/mpov.html#emission

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBlkhxqIYJdJhyixIRAqBbAJ9+EsX2zHYIgCHdsk7IIZaahqTfCgCfZIhG
N1A7tnSIWXoA2DImrLLgv3U=
=DA0j
-----END PGP SIGNATURE-----


Post a reply to this message

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