Ignore:
Timestamp:
08/12/05 18:42:20 (19 years ago)
Author:
mattausch
Message:

added bsp stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.cpp

    r235 r237  
    6969        char constructionMethodStr[64]; 
    7070 
    71         environment->GetStringValue("BspTree.constructionMethod", 
    72                            constructionMethodStr); 
     71        environment->GetStringValue("BspTree.constructionMethod", constructionMethodStr); 
    7372 
    7473        int constructionMethod = BspTree::VIEWCELLS; 
    75  
     74         
    7675        if (strcmp(constructionMethodStr, "viewCells") == 0) 
    7776                constructionMethod = BspTree::VIEWCELLS; 
     
    8483    } 
    8584 
    86         Debug << constructionMethodStr << endl; 
    87  
    8885        switch (constructionMethod) 
    8986        { 
    9087        case BspTree::VIEWCELLS: 
     88 
    9189                mViewcells.clear(); 
     90                 
    9291                // derive viewcells from the scene objects 
    9392                ViewCell::DeriveViewCells(objects, mViewcells, 1000); 
     93                 
    9494                mBspTree->Construct(mViewcells); 
    9595                break; 
     
    102102        return true; 
    103103} 
    104  
    105104 
    106105 
Note: See TracChangeset for help on using the changeset viewer.