进一步清晰化

This commit is contained in:
hesuicong committed 2026-10-21 17:02:00 +08:00
1 parent 875f0c5be5
commit 433a06716a
1 file changed
+3 -3
+3 -3
View File
@@ -16420,7 +16420,7 @@ bool MeshTexture::RasterizeVirtualFaces(
int textureSize = ComputeOptimalTextureSizeAdaptive(virtualFaceMap, virtualFaceViews, nTextureSizeMultiple);
if (textureSize < 1024) textureSize = 1024;
if (textureSize > 16384) textureSize = 16384;
textureSize = std::max(textureSize, 4096);
textureSize = std::max(textureSize, 8192);
// 2. atlas + score
outTextures.emplace_back(textureSize, textureSize);
@@ -16664,8 +16664,8 @@ bool MeshTexture::RasterizeVirtualFaces(
mainPatch.convertTo(mainFloat, CV_32FC3, 1.0f / 255.0f);
cv::Mat mainLowFreq;
cv::GaussianBlur(mainFloat, mainLowFreq, cv::Size(31, 31), 10.0);
cv::Mat highFreqAccum = (mainFloat - mainLowFreq) * 0.6f;
cv::GaussianBlur(mainFloat, mainLowFreq, cv::Size(5, 5), 1.5);
cv::Mat highFreqAccum = (mainFloat - mainLowFreq) * 0.9f;
float highFreqTotalWeight = 0.6f;
if (hasLowFreqViews) {