Scattering of light from surfaces with one-dimensional structure calculated by the ray-tracing method