GPU并行优化

This commit is contained in:
hesuicong committed 2025-10-25 16:36:17 +08:00
1 parent 5814b15eff
commit a395698345
3 files changed
+105 -16

No files matched your search

+2 -1
View File
@@ -1049,6 +1049,7 @@ bool checkFileExistence(const std::string& filename) {
int main(int argc, LPCTSTR* argv)
{
TD_TIMER_START();
#ifdef _DEBUGINFO
// set _crtBreakAlloc index to stop in <dbgheap.c> at allocation
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);// | _CRTDBG_CHECK_ALWAYS_DF);
@@ -1128,7 +1129,6 @@ int main(int argc, LPCTSTR* argv)
printf("MAKE_PATH_SAFE(OPT::strViewsFileName): %s\n", MAKE_PATH_SAFE(OPT::strViewsFileName).c_str());
if (!OPT::strViewsFileName.empty())
views = ParseViewsFile(MAKE_PATH_SAFE(OPT::strViewsFileName), scene);
printf("Second\n");
// compute mesh texture
TD_TIMER_START();
if (!scene.TextureMesh(OPT::nResolutionLevel, OPT::nMinResolution, OPT::minCommonCameras, OPT::fOutlierThreshold, OPT::fRatioDataSmoothness,
@@ -1164,6 +1164,7 @@ int main(int argc, LPCTSTR* argv)
sml.Save(baseFileName+_T("_orthomap.txt"));
}
VERBOSE("All TextureMesh completed (%s)!", TD_TIMER_GET_FMT().c_str());
return EXIT_SUCCESS;
}
/*----------------------------------------------------------------*/