We propose a method for numerically simulating stochastic fields with the spatial inhomogeneities varying in a wide range. The method allows one to combine the modal approach based on expansion of random homogeneous isotropic field over Karhunen-Loeve-Obukhov functions with a spectral approach or the sliding average approach. Advantages of the method over the other known methods of random field generation manifest themselves, in particular, in the case when a random field with a wide range of inhomogeneities in relatively small areas is to be induced. This problem arises, for example, in simulating the laser beam wave front propagated through the atmosphere.