|
|
I placed a light inside a subtracted series of spheres (the sphere no longer
has an inside, and has slits cut in it - light can exit the sphere). I'm
expecting there to be scattered light when leaving the sphere, yet I am
seeing none. No media seems to work while the light is inside the sphere.
Media will work once the light leaves the sphere. Is there any way around
this problem?
(please also reply to e-mail, thank you)
Yann
#declare SphereCutout = difference {
sphere { <0,0,0>,1 }
box { <-.1,-2,-2>,
<.1, 2, 2>
}
}
#declare SphereCutout2 = difference {
object { SphereCutout }
box { <-.1,-2,-2>,
<.1, 2, 2>
rotate z*90
}
}
#declare SphereShell = difference {
object { SphereCutout2 }
sphere { <0,0,0>,0.95 }
}
object { SphereShell }
media {
scattering {1, 0.3 }
samples 10
method 3
}
light_source {
<0,0,0>
color rgb 1
media_interaction on
media_attenuation on
}
Post a reply to this message
|
|