It is useful to compute sound field of a source in a virtual environment which is different from the measurement environment. For example, some properties of sound source, such as directivity index and frequency response curve, are required to be measured in an anechoic room or free space, but both of them cannot be always accessible. Consequently, it will be useful to compute sound field of a source in free space when sound field of the source is not measured in the free space. In the aforementioned example, the free space is a virtual environment. Based on reciprocity theorem and modal expansion, a method to predict sound field of a source in a virtual environment is given in this paper when the scattering effect of the source can be neglected. Reciprocity theorem builds the relationship between measured sound field and predicted sound field, which plays an important role in the method. Greenβs function in the virtual environment is needed in the method. To restrict measurement points on an enclosed surface, the Greenβs function is expanded by a set of modes. A simulation is given to examine the validity of the method.