removed extraneous second rendering pass in get3DPatch