POV-Ray : Newsgroups : povray.general : scattering media emits light : scattering media emits light Server Time
5 Aug 2024 16:15:05 EDT (-0400)
  scattering media emits light  
From: David Necas (Yeti)
Date: 20 Aug 2002 09:59:15
Message: <slrnam4ipk.8i6.yeti@monoceros.physics.muni.cz>
Scattering media behaves quite strangely when you put
a light_source directly into it.

Consider following scene, a box containing scattering media
and a light source just above it:

camera { location -30*z look_at 0 }
plane { y, -15 pigment { checker rgb<1,0,0> rgb<0,1,0> scale 10 } }
light_source { 10.1*y, 1 media_attenuation on }
box {
  <-10,-10,-10>, <10,10,10> hollow pigment { color rgbt<1,1,1,1> }
  interior { media { scattering { 1, 0.2 extinction 1 } } }
}

Rendering it gives what one expects: glow in the upper part
of the box, the lower part being almost dark since little
light come there (most is scattered).

But changing the third line to

light_source { 9.9*y, 1 media_attenuation on }

i.e. putting the light source inside the box, makes the media
to emit an abusrd amount of light.

I hope I didn't miss anything, but is this the way it's
supposed to work or is it a bug?  I'd expect the media to
behave more physically.

Yeti


Post a reply to this message

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