Changeset 2342 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
- Timestamp:
- 05/02/07 17:28:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
r2332 r2342 559 559 560 560 /// Repair split queue 561 cout << "repairing queue ... " << endl;561 cout << "repairing object space queue ... " << endl; 562 562 RepairQueue(dirtyList, objectSpaceQueue, true); 563 563 cout << "repaired " << (int)dirtyList.size() << " candidates" << endl; 564 564 565 565 dirtyList.clear(); 566 567 /// also repair some candidates from view space queue 568 /*cout << "repairing view space queue ... " << endl; 569 CollectRandomCandidates(dirtyList); 570 RepairQueue(dirtyList, viewSpaceQueue, true); 571 cout << "repaired " << (int)dirtyList.size() << " candidates" << endl; 572 dirtyList.clear();*/ 566 573 //PrintTimings(false); 567 574 } … … 743 750 mVspTree->PrepareConstruction(tQueue, sampleRays, *viewSpaceRays); 744 751 745 /////////746 //-- new stats747 748 752 if (0) 749 753 { 754 ///////// 755 //-- new render cost 756 750 757 mHierarchyStats.mTotalCost = mVspTree->mTotalCost; 751 758 cout << "\nreseting cost for vsp construction, new total cost: " << mHierarchyStats.mTotalCost << endl; … … 2278 2285 { 2279 2286 ComputePvs(vc->GetPvs(), triangles, entries); 2280 vc->Set PvsCost(triangles);2287 vc->SetTrianglesInPvs(triangles); 2281 2288 } 2282 2289 … … 2502 2509 } 2503 2510 2504 2505 } 2511 #ifdef USE_SSE 2512 int HierarchyManager::CastLineSegment(RayPacket &packet) 2513 { 2514 return mVspTree->TraverseRayPacket(packet, true); 2515 } 2516 2517 #endif 2518 2519 }
Note: See TracChangeset
for help on using the changeset viewer.