diff --git a/libs/MVS/SceneTexture.cpp b/libs/MVS/SceneTexture.cpp index 8ee2aa9..b74e7fa 100644 --- a/libs/MVS/SceneTexture.cpp +++ b/libs/MVS/SceneTexture.cpp @@ -13653,7 +13653,7 @@ bool MeshTexture::TextureWithExistingUV( if (existingTextures.empty()) { VERBOSE("error: no existing texture data provided"); - return false; + // return false; } DEBUG_EXTRA("Processing %zu faces with existing texture data", scene.mesh.faces.size()); @@ -15748,12 +15748,12 @@ bool Scene::TextureMesh(unsigned nResolutionLevel, unsigned nMinResolution, unsi // nRectPackingHeuristic, colEmpty, fSharpnessWeight, maxTextureSize, // baseFileName, bOriginFaceview, this, existingTexcoords, existingTexindices); - if (!texture.GenerateTextureWithViewConsistency( - bGlobalSeamLeveling, bLocalSeamLeveling, nTextureSizeMultiple, - nRectPackingHeuristic, colEmpty, fSharpnessWeight, maxTextureSize, - baseFileName, bOriginFaceview, this)) { - return false; - } + // if (!texture.GenerateTextureWithViewConsistency( + // bGlobalSeamLeveling, bLocalSeamLeveling, nTextureSizeMultiple, + // nRectPackingHeuristic, colEmpty, fSharpnessWeight, maxTextureSize, + // baseFileName, bOriginFaceview, this)) { + // return false; + // } // 保存生成的纹理数据 Mesh::Image8U3Arr existingTextures = texture.texturesDiffuseTemp;