 In the DVD commentary, Nicholson states that Antonioni constructed  the entire hotel entirely so that the final shot could be  accomplished, though he suggests that the entire hotel was built on  hinges instead of simply the bars outside the window.