Three-dimensional surface measurement using light scattering