According to the flight dynamic mathematical model and the kinematic mathematical model, this article adopts the Visual C++6.0 visualization development environment and the OpenGL programming technology to simulate the flight rule of the aircraft. The flight environment virtual simulation system can simulate the flight rules in 3D space and users can control the 3D aircraft real time by the keyboards, and the main parameters of the aircraft can dynamically change with it, and the interface of the software is friendly and easy to operate.