The Painted Veil is a novel by Somerset Maugham published in 1925. It is set mostly in China. It has been adapted for the screen 3 times. The last film version was 2006.
Most of the outdoor scenes were filmed in karst landscape in Guangxi. Guangxi is an autonomous region bordering Vietnam. The former capital was Guilin, which is surrounded by limestone hills and caves. Yunnan lies to the west. Filming was done in Yizhou, which is an area known for its karst formations.