The investigation of the problem that concerns the match and composition between the virtual 3D computer graphics or image for the architecture planed to build and the real environment image sequence has been carried out. The major research way is to make anti-perspective calculation on the image sequence extracted from the video clip about the real environment based on photogrammetry and make analysis of lighteness
average square error and average chroma on the image sequence. The algorithm has been studied to get the parameters of the virtual camera by calculating out the parameters of the real camera with linear asymptote iterative calculation based on the technology of single photo analytical photography in photogrammetry. The algorithm of dynamic masking has been put forward to synthesize virtual image sequence and real environment image sequence based on keyframe technology when the segmentation edge varies with time. The model of virtual sunlight in computer's virtual 3D world coordinate space has been established based on the rules of the elliptical motion of planet in the solar system and the rules of earth's rotation to simulate the sunlight at any time in a year and in any position with arbitrary longitude and latitude in the world. These algorithms have been applied to the 3D dynamic simulation system based on real environment images. The result of experiments proves that these algorithms are effective.