Generally this is easy for a scanline render working on polygons
but tricky with raytraced CSG. If you have (or can generate) a mesh
you could try
http://tuabiht.chez-alice.fr/PovEdge_Site/PovEdge.html
Also, for smoothly curved objects you can highlight their
outer contours using the aoi pattern.