Formation of a drop: viscosity dependence of three flow regimes