Ignore:
Timestamp:
05/02/07 17:28:26 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp

    r2332 r2342  
    559559                 
    560560                /// Repair split queue 
    561                 cout << "repairing queue ... " << endl; 
     561                cout << "repairing object space queue ... " << endl; 
    562562                RepairQueue(dirtyList, objectSpaceQueue, true); 
    563563                cout << "repaired " << (int)dirtyList.size() << " candidates" << endl; 
    564564 
    565565                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();*/ 
    566573                //PrintTimings(false); 
    567574        } 
     
    743750        mVspTree->PrepareConstruction(tQueue, sampleRays, *viewSpaceRays); 
    744751 
    745         ///////// 
    746         //-- new stats 
    747  
    748752        if (0) 
    749753        { 
     754                ///////// 
     755                //-- new render cost 
     756 
    750757                mHierarchyStats.mTotalCost = mVspTree->mTotalCost; 
    751758                cout << "\nreseting cost for vsp construction, new total cost: " << mHierarchyStats.mTotalCost << endl; 
     
    22782285                { 
    22792286                        ComputePvs(vc->GetPvs(), triangles, entries); 
    2280                         vc->SetPvsCost(triangles); 
     2287                        vc->SetTrianglesInPvs(triangles); 
    22812288                } 
    22822289 
     
    25022509} 
    25032510 
    2504  
    2505 } 
     2511#ifdef USE_SSE 
     2512int 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.