The computer simulation can conveniently model the real scenes at little expense. In this paper, in order to realize the synthesis of the object and background images, their image data is firstly obtained through computer simulation. In order to view the background and objects at different angles, the coordinate system is reset according to the principle of perspective transformation. Then, according to the characteristic values of image data, the visualization of the scene is made, and the scene is rendered with a programming language combining with the 3D graphics and model libraries provided by OpenGL. In addition, a unity of the color patches of the object image and background image is made to display the scene in reality. It is shown that this method has a good reference value regarding the image synthesis simulation.