Debugging 3D calibration... had weird issues where it produced homographies with det(H) < 0 which totally messed up the rotation and translation (you'd have a couple calibration poses that have z < 0, so 'behind the camera' or 'behind the projector' and reflected, which I guess makes mathematical sense but not physical sense lol). I just set H = -H and then it fixed everything