Extrude 2 d image automatically