A Generative Approach to Chinese Shanshui Painting