The 3D fractal terrain is constructed based on Diamond Square algorithm. Using a lot of the mathematical experiments on the computer, the appropriate parameter ranges of 3D terrain are determined. And the algorithm of virtual tour in 3D terrain is built.