|
With the rapid development of computer technology, the application of the visible system is more and more widely, in addition, people expect to see the visible environment, especially in simulation environment such as airplanes, cars, ships, etc. Therefore the natural scenery simulation has been a challenging research direction in the field of computer graphics. In this paper, it combines particle system method and dynamic texture technology, and then realizes real-time simulation of the rain. Simultaneously, it integrates aerodynamics basic principles, and simplifies wind field model, reduces computation, and overcomes large computation of particle system according to the actual phenomenon and specific simulation requirements, thus completes the real-time simulation of the rain, snow and other natural scenery.Firstly, this paper systematically describes the principle of the particle systems, basic model, and details the particles produce, space position attribute, sports property, life cycle, particles disappearance, etc, and summarizes the general description form of particle characteristic.Secondly, it analyzes the information statistical properties and dynamic characteristic of the studied object in the video using time series analysis method and statistics analysis, and establishes the dynamic model of scenery (state-space model). It studies the mechanism of which state space model generates dynamic texture, and uses a suboptimal method to solve the problem which is difficult to get the solution to the model parameters. It analyzes the implication that all the parameters of model are meaningful to image sequence.To reduce the large amount of the computation, combined with the dynamic texture technology and control theory ideas, using time series analysis methods, statistical thinking, acquired the scene signal that the use of simulated rain particle system, then through the filtering processing, get the original rain texture, the establishment of the rain scene in the state space model, based on VC++ platform, combined with OpenGL language, will be collected the original texture, store and display the list, according to interframe interval, random call these textures ; the rest rain of rendering , using particle systems, with electronic bulletin board technology, mipmap technology, while using frac () function to complete the particle reuse, reduce the maximum number of particles, increasing the system’s real-time.. Meanwhile.Finally,by analyzing the result we have given the best simulation data and done further simulation of complex integrated weather.
|