New untested function to get image pts from 3d.