A large deviations approach to the geometry of random polytopes