Bryan Singer , the director of the first two X-Men movies left early in the production of the movie to direct the movie Superman Returns . Bryan Singer , the director of the first two X-Men films , left the project in July 2004 in favor of developing Superman Returns .