You can use Hidden Line rendering (under Render-Render-Hidden line Render)
You can control the effect with each objects shader (Hidden Line Rendering Perameters in the shader window)
or globally within a section of the Render Globals (at the bottom).
One problem is that it also puts lines between each surface.