 He also sought Downey's advice about makeshift objects in prison, such as a sock being used to make tea.Afterwards, Stark's capture was filmed at Lone Pine, and other exterior scenes in Afghanistan were filmed at Olancha Sand Dunes, where the crew endured two days of winds.Filming at Edwards Air Force Base began in mid-April, and ended on May 2.