Changeset 2258 for GTP/trunk/Lib/Vis/Preprocessing/src
- Timestamp:
- 03/18/07 00:26:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2255 r2258 3607 3607 if (mCurrentViewCellsStats.maxPvs) 3608 3608 { 3609 importance = (float)mViewCellsTree->GetPvsCost(vc) / 3610 (float)mCurrentViewCellsStats.maxPvs;3609 importance = (float)mViewCellsTree->GetPvsCost(vc) / 700; 3610 //(float)mCurrentViewCellsStats.maxPvs; 3611 3611 } 3612 3612 } … … 3618 3618 } 3619 3619 break; 3620 #if 03621 case 3: // merge tree differene3622 {3623 importance = (float)GetMaxTreeDiff(vc) /3624 (float)(mVspBspTree->GetStatistics().maxDepth * 2);3625 3626 }3627 break;3628 #endif3629 3620 default: 3630 3621 break; … … 6365 6356 const int savedColorCode = mColorCode; 6366 6357 6367 const float maxRenderCost = -1;//UpdateObjectCosts();6358 const float maxRenderCost = UpdateObjectCosts(); 6368 6359 cout << "maxRenderCost: " << maxRenderCost << endl; 6369 6360 mColorCode = 0; // 0 = random, 1 = export pvs … … 6412 6403 6413 6404 if (1) 6414 mHierarchyManager->ExportObjectSpaceHierarchy(exporter, objects, 6415 CLAMP_TO_BOX ? &bbox : NULL, maxRenderCost, false); 6405 mHierarchyManager->ExportObjectSpaceHierarchy(exporter, 6406 objects, 6407 CLAMP_TO_BOX ? &bbox : NULL, 6408 maxRenderCost, 6409 false); 6416 6410 6417 6411
Note: See TracChangeset
for help on using the changeset viewer.