Browse Source

优化

ManualUV
hesuicong 1 month ago
parent
commit
6271fb3af0
  1. 6
      libs/MVS/SceneTexture.cpp

6
libs/MVS/SceneTexture.cpp

@ -10025,7 +10025,9 @@ void GenerateDistanceFieldFast(cv::Mat& distanceField, cv::Mat& nearestFaceIdx, @@ -10025,7 +10025,9 @@ void GenerateDistanceFieldFast(cv::Mat& distanceField, cv::Mat& nearestFaceIdx,
}
}
}
}void FillTextureGaps(Image8U3& textureAtlas, const Mesh::TexCoordArr& faceTexcoords,
}
void FillTextureGaps(Image8U3& textureAtlas, const Mesh::TexCoordArr& faceTexcoords,
FIndex nFaces, const MeshTexture::LabelArr& faceLabels,
int textureSize, Pixel8U colEmpty)
{
@ -10939,7 +10941,7 @@ bool Scene::TextureMesh(unsigned nResolutionLevel, unsigned nMinResolution, unsi @@ -10939,7 +10941,7 @@ bool Scene::TextureMesh(unsigned nResolutionLevel, unsigned nMinResolution, unsi
}
//*/
// return true;
return true;
}
// mesh.CheckUVValid();

Loading…
Cancel
Save