Ignore:
Timestamp:
01/25/06 11:08:35 (18 years ago)
Author:
mattausch
Message:

changed view cell parser. warning, not working yet!!

File:
1 edited

Legend:

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

    r574 r575  
    126126        //-- construction rays => we use uniform samples for this 
    127127        CastPassSamples(mInitialSamples,  
    128                                         Preprocessor::DIRECTION_BASED_DISTRIBUTION, 
    129                                         //Preprocessor::SPATIAL_BOX_BASED_DISTRIBUTION,  
     128                                        //Preprocessor::DIRECTION_BASED_DISTRIBUTION, 
     129                                        Preprocessor::SPATIAL_BOX_BASED_DISTRIBUTION,  
    130130                                        initialSamples); 
    131131         
     
    157157                                                Preprocessor::SPATIAL_BOX_BASED_DISTRIBUTION; 
    158158 
    159                 dirSamples = !dirSamples; // toggle sampling 
     159                dirSamples = !dirSamples; // toggle sampling method 
    160160                numSamples += CastPassSamples(mSamplesPerPass,  
    161161                                                                          samplingType, 
     
    26792679        mVspBspTree = new VspBspTree(); 
    26802680 
    2681         bool success = parser.ParseFile(filename, mVspBspTree, this, objects); 
     2681        bool success ;//= parser.ParseFile(filename, &this, objects); 
    26822682        mVspBspTree->RepairViewCellsLeafLists(); 
    26832683        mVspBspTree->mBox = GetViewSpaceBox(); 
     
    27642764        viewCell->SetArea(area); 
    27652765} 
     2766 
     2767 
     2768 
     2769ViewCellsManager *ViewCellsManagerFactory::Create(const string mName) 
     2770{ 
     2771        //TODO 
     2772        return NULL;// new VspBspViewCellsManager(); 
     2773} 
Note: See TracChangeset for help on using the changeset viewer.