Changeset 1090 for GTP/trunk/Lib/Geom/shared/GeoTool
- Timestamp:
- 07/06/06 20:20:06 (19 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GeoTool
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshViewUI.h
r1083 r1090 374 374 void setLodStripsLibrary(const Geometry::LodStripsLibraryData *, Mesh *geomesh); 375 375 // Initialize the lodtreelibrary for visualization. 376 void setLodTreesLibrary(const Geometry::LodStripsLibraryData *, const Geometry::TreeSimplificationSequence *, Mesh *geomesh , uint32 ileafSubMesh);376 void setLodTreesLibrary(const Geometry::LodStripsLibraryData *, const Geometry::TreeSimplificationSequence *, Mesh *geomesh/*, uint32 ileafSubMesh*/); 377 377 378 378 // Indentify the mesh of leaves. -
GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshView.cpp
r1083 r1090 1032 1032 for (int submesh = 0; submesh < geoMesh->mSubMeshCount; submesh++) 1033 1033 { 1034 if (submesh==leavesSubMesh) 1034 //if (submesh==leavesSubMesh) 1035 if (submesh == lodTreeLib->GetLeavesSubMesh()) 1035 1036 continue; 1036 1037 -
GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshViewUI.cpp
r1083 r1090 852 852 if (geoMeshLoader->GetTreeSimpSeq() && geoMeshLoader->GetLodStripsData()) 853 853 { 854 // select the first triangle-list submesh as leaves submesh854 /* // select the first triangle-list submesh as leaves submesh 855 855 int leafsSubMeshID = -1; 856 856 … … 862 862 break; 863 863 } 864 } 865 866 setLodTreesLibrary(geoMeshLoader->GetLodStripsData(), geoMeshLoader->GetTreeSimpSeq(), mGeoMesh , leafsSubMeshID);864 }*/ 865 866 setLodTreesLibrary(geoMeshLoader->GetLodStripsData(), geoMeshLoader->GetTreeSimpSeq(), mGeoMesh/*, leafsSubMeshID*/); 867 867 868 868 // Sets the aplication mode. … … 2342 2342 // Initialize the lodTreelibrary for visualization. 2343 2343 //--------------------------------------------------------------------------- 2344 void GeoMeshViewUI::setLodTreesLibrary(const LodStripsLibraryData *lodstripsdata, const TreeSimplificationSequence *treesimpseq, Mesh *geomesh , uint32 ileafSubMesh)2344 void GeoMeshViewUI::setLodTreesLibrary(const LodStripsLibraryData *lodstripsdata, const TreeSimplificationSequence *treesimpseq, Mesh *geomesh/*, uint32 ileafSubMesh*/) 2345 2345 { 2346 2346 // If there is no lod strips object. … … 2350 2350 // New lod strips object. 2351 2351 2352 lodTreeLib = new Geometry::LodTreeLibrary(lodstripsdata,treesimpseq,geomesh ,ileafSubMesh);2352 lodTreeLib = new Geometry::LodTreeLibrary(lodstripsdata,treesimpseq,geomesh/*,ileafSubMesh*/); 2353 2353 2354 2354 // Sets the slider range.
Note: See TracChangeset
for help on using the changeset viewer.