Inspecting transparent materials or objects