Refine painting features and add 1d painting.