In this paper, the principle of facial animation compatible with the MPEG-4 standard is introduced. Then the algorithm of calculating the displacements of face mesh vertices within the influence of facial animation parameters (FAPs) is discussed and improved. At last, a method of constructing FaceDefTables, which is one field of facial definition parameters (FDPs), is presented. Using this technique, realistic facial animation can be generated.