|
|
In article <3d625261@news.povray.org>, Micha Riser <mri### [at] gmxnet>
wrote:
> I can confirm this. There seems to be a problem with the light extinction
> not being considered when the light_source is inside the media. Actually
> try setting extinction to 0 and you will get the same result. POV 3.1
> behaves the same way.
My own raytracer had a bug where the last interval of media between a
surface and the point being calculated was ignored (simplified
description of the problem). POV calculates things the other direction,
from the point to the light, maybe it doesn't do attenuation from the
last interval between a surface and the light. Since that is the only
interval doing attenuation here, the light isn't attenuated at all. A
simple off-by-one error...
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|