Play of rays at waves on water and in clouds