Ignore:
Timestamp:
09/03/06 03:13:29 (18 years ago)
Author:
mattausch
Message:

started osp mesh construction for obj files. Introduced new primitive faceintersectable

File:
1 edited

Legend:

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

    r1313 r1314  
    105105                "Hierarchy.Construction.minDepthForOsp", mMinDepthForObjectSpaceSubdivion); 
    106106         
     107        Environment::GetSingleton()->GetBoolValue( 
     108                "Hierarchy.Construction.repairQueue", mRepairQueue); 
     109 
    107110        Debug << "******** Hierachy Manager Parameters ***********" << endl; 
    108111        Debug << "max leaves: " << mTermMaxLeaves << endl; 
    109112        Debug << "min global cost ratio: " << mTermMinGlobalCostRatio << endl; 
    110113        Debug << "global cost miss tolerance: " << mTermGlobalCostMissTolerance << endl; 
     114        Debug << "construction type: " << mConstructionType << endl; 
     115        Debug << "min depth for object space subdivision: " << mMinDepthForObjectSpaceSubdivion << endl; 
     116        Debug << "repair queue: " << mRepairQueue << endl; 
    111117} 
    112118 
     
    343349        PrepareViewSpaceSubdivision(sampleRays, objects, forcedViewSpace); 
    344350 
    345         //const bool repairQueue = false; 
    346         const bool repairQueue = true; 
    347 cout << "here55 " << mVspTree->mVspStats.maxDepth << " (" << mMinDepthForObjectSpaceSubdivion << ") " << endl; 
    348351        // start object space subdivision immediately? 
    349352        if (StartObjectSpaceSubdivision()) 
     
    379382                        // reevaluate candidates affected by the split for view space splits,  
    380383                        // this would be object space splits and other way round 
    381                         if (repairQueue) RepairQueue(); 
     384                        if (mRepairQueue) RepairQueue(); 
    382385                } 
    383386 
     
    386389                if (StartObjectSpaceSubdivision()) 
    387390                { 
     391                        mObjectSpaceSubdivisionType = savedObjectSpaceSubdivisionType; 
     392 
     393                        cout << "starting object space subdivision at maximal view space subdivison depth " << mVspTree->mVspStats.maxDepth << " (" << mMinDepthForObjectSpaceSubdivion << ") " << endl; 
     394                        PrepareObjectSpaceSubdivision(sampleRays, objects); 
     395 
    388396                        cout << "reseting queue ... "; 
    389397                        ResetQueue(); 
    390398                        cout << "finished" << endl; 
    391  
    392                         cout << "starting object space subdivision at maximal view space subdivison depth " << mVspTree->mVspStats.maxDepth << " (" << mMinDepthForObjectSpaceSubdivion << ") " << endl; 
    393                                                  
    394                         mObjectSpaceSubdivisionType = savedObjectSpaceSubdivisionType; 
    395                         PrepareObjectSpaceSubdivision(sampleRays, objects); 
    396399                } 
    397400 
Note: See TracChangeset for help on using the changeset viewer.