取消一些注释
This commit is contained in:
1 parent
982106fec2
commit
8577d13579
1 file changed
+1
-5
@@ -8642,7 +8642,6 @@ bool MeshTexture::FaceViewSelection3( unsigned minCommonCameras, float fOutlierT
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_EXTRA("FaceViewSelection3.1");
|
|
||||||
// printf("perFaceFaces.size = %d\n", perFaceFaces.size());
|
// printf("perFaceFaces.size = %d\n", perFaceFaces.size());
|
||||||
|
|
||||||
ASSERT(controlCounter == faces.size());
|
ASSERT(controlCounter == faces.size());
|
||||||
@@ -8675,7 +8674,6 @@ bool MeshTexture::FaceViewSelection3( unsigned minCommonCameras, float fOutlierT
|
|||||||
}
|
}
|
||||||
//*/
|
//*/
|
||||||
}
|
}
|
||||||
DEBUG_EXTRA("FaceViewSelection3.2");
|
|
||||||
// 3) use virtual faces to build the graph
|
// 3) use virtual faces to build the graph
|
||||||
// 4) assign images to virtual faces
|
// 4) assign images to virtual faces
|
||||||
// 5) spread image ID to each mesh face from virtual face
|
// 5) spread image ID to each mesh face from virtual face
|
||||||
@@ -8683,7 +8681,6 @@ bool MeshTexture::FaceViewSelection3( unsigned minCommonCameras, float fOutlierT
|
|||||||
MAYBEUNUSED const Mesh::FIndex idx((Mesh::FIndex)boost::add_vertex(graph));
|
MAYBEUNUSED const Mesh::FIndex idx((Mesh::FIndex)boost::add_vertex(graph));
|
||||||
ASSERT(idx == idxFace);
|
ASSERT(idx == idxFace);
|
||||||
}
|
}
|
||||||
DEBUG_EXTRA("FaceViewSelection3.3");
|
|
||||||
//*
|
//*
|
||||||
FOREACH(idxVirtualFace, virtualFaces) {
|
FOREACH(idxVirtualFace, virtualFaces) {
|
||||||
const Mesh::FaceIdxArr& afaces = virtualFaceNeighbors[idxVirtualFace];
|
const Mesh::FaceIdxArr& afaces = virtualFaceNeighbors[idxVirtualFace];
|
||||||
@@ -8706,11 +8703,10 @@ bool MeshTexture::FaceViewSelection3( unsigned minCommonCameras, float fOutlierT
|
|||||||
}
|
}
|
||||||
//*/
|
//*/
|
||||||
|
|
||||||
DEBUG_EXTRA("FaceViewSelection3.4");
|
|
||||||
// 这里通过深度图判断virtualFaces是否要为invalid
|
// 这里通过深度图判断virtualFaces是否要为invalid
|
||||||
// CheckInvalidFaces(virtualFacesDatas, fOutlierThreshold, nIgnoreMaskLabel, views, bUseVirtualFaces))
|
// CheckInvalidFaces(virtualFacesDatas, fOutlierThreshold, nIgnoreMaskLabel, views, bUseVirtualFaces))
|
||||||
|
|
||||||
printf("virtualFacesDatas.size()=%d, facesDatas.size()=%d\n", virtualFacesDatas.size(), facesDatas.size());
|
// printf("virtualFacesDatas.size()=%d, facesDatas.size()=%d\n", virtualFacesDatas.size(), facesDatas.size());
|
||||||
|
|
||||||
ASSERT((Mesh::FIndex)boost::num_vertices(graph) == virtualFaces.size());
|
ASSERT((Mesh::FIndex)boost::num_vertices(graph) == virtualFaces.size());
|
||||||
// assign the best view to each face
|
// assign the best view to each face
|
||||||
|
|||||||
Reference in new issue
Block a user