Ignore:
Timestamp:
01/08/06 05:56:40 (18 years ago)
Author:
mattausch
Message:

implemented view cells exporting / loading
improved vsp bsp tree (only axis aligbed until a level), reuse results from Plane
testing, collectmergeneighbors
implemented view cell meshes

File:
1 edited

Legend:

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

    r496 r508  
    5959Preprocessor::LoadScene(const string filename) 
    6060{ 
    61   // use leaf nodes of the original spatial hiearrchy as occludees 
    62  
    63   mSceneGraph = new SceneGraph; 
     61        // use leaf nodes of the original spatial hiearrchy as occludees 
     62        mSceneGraph = new SceneGraph; 
    6463   
    65   Parser *parser; 
     64        Parser *parser; 
    6665        vector<string> filenames; 
    6766        int files = SplitFilenames(filename, filenames); 
     
    176175} 
    177176 
     177 
    178178bool Preprocessor::PrepareViewCells() 
    179179{ 
     
    257257                environment->GetStringValue("ViewCells.filename", buff); 
    258258                string vcFilename(buff); 
    259                 mViewCellsManager->LoadViewCells(vcFilename); 
     259                mViewCellsManager->LoadViewCells(vcFilename, &mObjects); 
    260260        } 
    261261 
     
    364364} 
    365365 
    366 bool Preprocessor::WriteSamples(const VssRayContainer &samples) const 
     366 
     367bool Preprocessor::ExportSamples(const VssRayContainer &samples) const 
    367368{ 
    368369        char fileName[100]; 
Note: See TracChangeset for help on using the changeset viewer.