Perception of Slope and Distance in Photographs and in the Real World