3D sensor for the inspection of shiny surfaces