<P> Before Adam Godley was officially cast as Mr. Teavee, Dan Castellaneta, Tim Allen, Ed O'Neill, Bob Saget, and Ray Romano were all considered for the role . </P> <P> It has been rumored that Gregory Peck was considered for the role of Grandpa Joe . Other actors that were considered for Grandpa Joe included Richard Attenborough, Kirk Douglas, Albert Finney, Anthony Hopkins, Paul Newman, Max von Sydow, David Warner, Christopher Lloyd and Peter Ustinov . </P> <P> Principal photography for Charlie and the Chocolate Factory started on June 21, 2004 at Pinewood Studios in England . Director Tim Burton and composer Danny Elfman found filming somewhat difficult because they were simultaneously working on Corpse Bride . The Wonka Factory exterior was coincidentally constructed on the same backlot Burton had used for Gotham City in Batman (1989). The ceremonial scene required 500 local extras . The Chocolate Room / River setpiece filled Pinewood's 007 Stage . As a consequence of British Equity rules, which state that children can only work four and a half hours a day, filming for Charlie and the Chocolate Factory took six months, ending in December 2004 . </P> <P> The architecture of the Bucket family home was influenced by Burton's visit to Roald Dahl's writing hut . Like the book, the film has a "timeless" setting and is not set in a specific country . "We've tried not to pinpoint it to any place," production designer Alex McDowell explained . "The cars, in fact, drive down the middle of the road ." The town, whose design was shaped by the black and white urban photography of Bill Brandt, as well as Pittsburgh and Northern England, is arranged like a medieval village, with Wonka's estate on top and the Bucket shack below . The filmmakers also used fascist architecture for Wonka's factory exterior, and designed most of the sets on 360 ° sound stages, similar to cycloramas . Burton biographer Mark Salisbury wrote that Charlie and the Chocolate Factory "melds 1950s and' 70s visuals with a futuristic sensibility that seems straight out of a 1960s sense of the future ." The "TV Room" was patterned after photographs from the films 2001: A Space Odyssey, Danger: Diabolik, and THX 1138 . Danger Diabolik also served as inspiration for the Nut Room and Inventing Room . </P>

Where was charlie and the choclate factory filmed