Referring back to FIG. 23, if no viewpoint position command has occurred in step S21, then, in step S23 the input unit 14 determines whether or not there is a shortest path computation command, i.e., whether key 11 e 2 (FIG. 6(a)) has been activated.