Robustly modeling the world from photos