编译通不过,先保存
This commit is contained in:
1 parent
4a9013f12f
commit
680c34242a
2 files changed
+1426
-114
No files matched your search
+16
-1
@@ -164,7 +164,22 @@ public:
|
|||||||
std::map<std::string, std::unordered_set<int>>& edge_faces_map,
|
std::map<std::string, std::unordered_set<int>>& edge_faces_map,
|
||||||
std::map<std::string, std::unordered_set<int>>& delete_edge_faces_map,
|
std::map<std::string, std::unordered_set<int>>& delete_edge_faces_map,
|
||||||
std::string& basePath);
|
std::string& basePath);
|
||||||
|
bool LoadVisibleFacesData() {
|
||||||
|
std::map<std::string, std::unordered_set<int>> visible_faces_map;
|
||||||
|
std::unordered_set<int> face_visible_relative;
|
||||||
|
std::map<std::string, std::unordered_set<int>> edge_faces_map;
|
||||||
|
std::map<std::string, std::unordered_set<int>> delete_edge_faces_map;
|
||||||
|
std::string basePath = GetDefaultBasePath(); // 你需要实现这个函数
|
||||||
|
|
||||||
|
return LoadVisibleFacesData(visible_faces_map, face_visible_relative,
|
||||||
|
edge_faces_map, delete_edge_faces_map, basePath);
|
||||||
|
}
|
||||||
|
std::string GetDefaultBasePath() {
|
||||||
|
// 根据你的需求实现这个函数
|
||||||
|
// 例如:返回一个默认的路径,或者从配置中读取
|
||||||
|
return "default_path";
|
||||||
|
}
|
||||||
|
|
||||||
// Mesh texturing
|
// Mesh texturing
|
||||||
bool TextureMesh(unsigned nResolutionLevel, unsigned nMinResolution, unsigned minCommonCameras=0, float fOutlierThreshold=0.f, float fRatioDataSmoothness=0.3f,
|
bool TextureMesh(unsigned nResolutionLevel, unsigned nMinResolution, unsigned minCommonCameras=0, float fOutlierThreshold=0.f, float fRatioDataSmoothness=0.3f,
|
||||||
bool bGlobalSeamLeveling=true, bool bLocalSeamLeveling=true, unsigned nTextureSizeMultiple=0, unsigned nRectPackingHeuristic=3, Pixel8U colEmpty=Pixel8U(255,127,39),
|
bool bGlobalSeamLeveling=true, bool bLocalSeamLeveling=true, unsigned nTextureSizeMultiple=0, unsigned nRectPackingHeuristic=3, Pixel8U colEmpty=Pixel8U(255,127,39),
|
||||||
|
|||||||
+1410
-113
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user