|
|
Hi,
I've got 2 transparent objects (one behind the other) standing inside a
Cornell cube. Now when POVray shoots a ray through the scene, the ray hits
the first object and is refracted. The ray then seems to hit the back wall
of the Cornell cube without being refracted by the second object.
So far I've tried setting max_trace_level to 20 (which should definitely be
enough). I also tried putting both transparent objects very close to
eachother, hoping that somehow the ray would get refracted by the second
object too, but to no avail.
Here's what my "code" looks like:
//draw Cornell box
//draw first transparent object
mesh
{
smooth_triangle
{
...
}
scale -0.3*x
scale 0.3*y
scale 0.3*z
translate -1*z
rotate 180*y
no_shadow
interior { ior 1.2}
pigment {color rgb <1, 1, 1, 1>}
}
//draw second transparent object
mesh
{
smooth_triangle
{
...
}
scale -0.3*x
scale 0.3*y
scale 0.3*z
translate -4*z
rotate 180*y
no_shadow
interior { ior 1.2}
pigment {color rgb <1, 1, 1, 1>}
}
light_source { <0.0, -0.4, 1.0> color rgb<1.5, 1.5, 1.5> }
camera
{
location <0, 0, -3>
look_at <0, 0, 4>
right x
up y
angle 60
}
Does anyone know what could be wrong?
Post a reply to this message
|
|