From f9e7f3f18bb975a540b39b8cfa8409ff7bec331b Mon Sep 17 00:00:00 2001 From: hesuicong Date: Sat, 11 Apr 2026 17:59:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BA=BF=E4=B8=8A=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/MVS/SceneTexture.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libs/MVS/SceneTexture.cpp b/libs/MVS/SceneTexture.cpp index 2b1ee24..4e0afbc 100644 --- a/libs/MVS/SceneTexture.cpp +++ b/libs/MVS/SceneTexture.cpp @@ -1115,16 +1115,17 @@ bool MeshTexture::ListCameraFaces(FaceDataViewArr& facesDatas, float fOutlierThr skipVisibilityCheck = true; } - if (skipVisibilityCheck || scene.is_face_visible(strName.c_str(), idxFace)) + if (scene.is_face_visible(strName.c_str(), idxFace)) + // if (skipVisibilityCheck || scene.is_face_visible(strName.c_str(), idxFace)) { rasterer.Project(facet, triangleRasterizer); if (!rasterer.validFace) rasterer.Project(facet, triangleRasterizer); // 如果投影成功,增加面片覆盖率计数 - if (rasterer.validFace) { - faceViewCount[idxFace]++; - } + // if (rasterer.validFace) { + // faceViewCount[idxFace]++; + // } } }