A direct method for studying particle deposition onto solid surfaces