setup to do from3Dto2D function