Learning to draw 3 D