Steven Spielberg had thought about making a traditionally animated film of the book before , when he bought the rights to the book in 1991 , before the founding of DreamWorks , where Bill Murray would play Shrek and Steve Martin would play Donkey .