In this paper the principle of fractal theory and fractal Brownian motion (FBM) are analyzed in detail. The Diamond-Square algorithm is introduced. And it introduces the process of generating three dimensional terrain, cloud and sky by this algorithm. There also analyses the physical meaning of FBM's two parameters H and σ. Through the analysis of the effect of different parameters, there is proposed a method of controllable fractal terrain based on parameters. Simulated a controlled fractal scene via VC ++ and OpenGL. And the same time, points the limitation of this algorithm. But as this algorithm's generating speed is faster, it also has validity and practicability.
展开▼