Perhaps you could project a ramp from the camera and use that as a zdepth, this is the way I do my zdepth as it gives you more control over everything.