phcorner in 3d