As Cooper notes , Palladio was guided in his religious architecture by the example of Michelangelo , who forged a language of greatness in Rome with St. Peter 's and Santa Maria degli Angeli , which is carved out of the Baths of Diocletian .