I have not played around alot with raytracing, but I thought I’d give it a try. I ran into a problem, however. It seems the Sun lamp will not actually light something that is inside an object. Even if that object has ray-transparency enabled and the alpha set to 0.
Here are my pictures, I am trying to get the interior of the cockpit lit by the lamp in the scene. One picture has the cockpit glass removed so you can see the interior, the other the glass is in place and you can see the IOR at work along the edges, but no lighting is happening inside the cockpit.
Restart Blender and we have the default cube. Add a sphere and scale down 50%. The sphere is now entirely inside the cube.
NOTE: Shadow, SSS, Env Map and Ray are enabled in the render settings.
I apply a new material to the sphere and set the color to blue. I click on TraShadow for the sphere.
I apply a new material to the cube and make it red. I enble ray transparency and set the depth to 10. When I render, I get a solid cube. I should be able to see the sphere through the cube.
Are you using Buffer shadowed spot-lights? If so, change them to Ray Shadows. The TransShdow option only works with Ray shadows. The Buffer shadows will still be black. This will allow, you to using only Ray Transparency without Turing down the Alpha for the material.
Well alpha has to be less then 1 for a material to be actually be transparent. How did you achieve transparency without setting alpha?
And to add to what Dichomoty said if you use buffered shadows you need to use Ztransp to get transparency.
In the shaders panel of your interior, make sure that TraShadow isn’t checked. That description looks a little suspicious.
Also, I found that if you are using buffer shadows and really want to, you can select the glass and uncheck shadbuf in the render pipeline of the links and pipeline panel.
I am using a Sun light, so it’s only option is ray traced shadows. You do need to enable the TraShadow material that is inside the object or no light is transfered to the interior object. Which is odd, because it is a shadow button.
Go ahead, give it a try and do my Cube Sphere example with a Sun light!
Actually when you think about it it makes sense. The interior material is ready to receive shadows (Shadow button is activated) Now when the algorithm checks it finds the interseciton with the sphere meaning that something is occluding the light. Now with the TraShadow button you tell the material to actually check wether the given material has alpha less then 1 and being able to let light transmit.
The important thing to keep in mind is that Shadow and TraShadow activate wehter a material receives shadows not if they cast shadows!