Along with the development of computer's software and hardware, the technique of computer simulation shows the trend of development from numerical simulation to visualization simulization. Visualization simulation, namely VS, is a new simulation technique, it be formed by the combination of computer simulization and system modeling. In essence, it tracks and controls the procedure of simulation calculation using figure or image processing technique. And it realizes the visualiztion of the interface of simulation software. Rapidly and efficientlymodeling is its characteristic.In this paper, Visual C++ 6.0 and OpenGL were used for software developing tool and graphics lib with provide modeling, lighting and texture mapping so on. Using these tool and lib seismic response is displayed and scientific visualization is realized.Some numerical methods, include LDLT method, Jocabi method and Wilson method is realized in this paper. Based on object-oriented method, the problem of the interface between of OpenGL and VC++ was resolved, and the function of the viewport conversion, model conversion, modeling, material, lighting, texture mapping, animation display, and directly, factually simulate the response of structural earthquake were realized.
|