Browse Source

参数优化

master
hesuicong 2 days ago
parent
commit
9696034738
  1. 8
      libs/MVS/SceneTexture.cpp

8
libs/MVS/SceneTexture.cpp

@ -6807,9 +6807,9 @@ bool MeshTexture::CreateVirtualFaces65(FaceDataViewArr& facesDatas, FaceDataView
} }
// 动态调整 kMaxViews // 动态调整 kMaxViews
int kMaxViews = 32; int kMaxViews = 12;
if (highScoreCount1 >= 1) { if (highScoreCount1 >= 1) {
kMaxViews = 1; // 高分视图多 kMaxViews = 2; // 高分视图多
} else if (highScoreCount2 >= 3) { } else if (highScoreCount2 >= 3) {
kMaxViews = 5; kMaxViews = 5;
} }
@ -6832,8 +6832,8 @@ bool MeshTexture::CreateVirtualFaces65(FaceDataViewArr& facesDatas, FaceDataView
if (viewData.faceToIndexMap.find(virtualFaceCenterFaceID) == viewData.faceToIndexMap.end()) if (viewData.faceToIndexMap.find(virtualFaceCenterFaceID) == viewData.faceToIndexMap.end())
continue; continue;
if (score < 1.0f) // if (score < 1.0f)
continue; // continue;
filteredCams.push_back(index); filteredCams.push_back(index);

Loading…
Cancel
Save