Changeset 1706 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
- Timestamp:
- 11/01/06 18:36:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r1695 r1706 686 686 mergedVc->SetMergeCost(totalRenderCost); 687 687 688 // HACK689 //mergedVc->SetMergeCost(1.0f / (float)realNumActiveViewCells);690 691 688 // check if "siblings (back and front node of the same parent) 692 if (0) 693 ++ mergeStats.siblings; 694 // set the co Žst for rendering a view cell689 if (0) ++ mergeStats.siblings; 690 691 // set the cost for rendering a view cell 695 692 mergedVc->SetCost(realExpectedCost); 696 693 … … 763 760 } 764 761 765 // test if voluje is equal 766 Debug << "volume of the root view cell: " << mRoot->GetVolume() << " " << mViewCellsManager->GetViewSpaceBox().GetVolume() << endl; 767 768 //hack!! 769 //mRoot->GetPvs().Clear(); 762 // test if computed volumes are correct 763 Debug << "volume of the root view cell: " << mRoot->GetVolume() 764 << " " << mViewCellsManager->GetViewSpaceBox().GetVolume() << endl; 770 765 771 766 // TODO: delete because makes no sense here
Note: See TracChangeset
for help on using the changeset viewer.