Abstract:The OpenGL viewpoint control is one of the key techniques to determine the space situational visualization. The principle of OpenGL viewpoint coordinate system is introduced firstly. Secondly, a viewpoint control algorithm based on the spherical coordinates is put forward, which realizes the viewpoint transform between the spherical coordinates and Cartesian Coordinates since the view function interface is based on the Cartesian coordinates system. Then, the viewpoint translation, rotation and scaling in spherical coordinates are derived. The application of the viewpoint control method in the space situation scene are introduced.