Ignore:
Timestamp:
02/15/07 14:45:30 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2117 r2119  
    479479        const int files = SplitFilenames(filename, filenames); 
    480480        cout << "number of input files: " << files << endl; 
     481 
    481482        bool result = false; 
    482483        bool isObj = false; 
     
    533534                 
    534535                                result = parser->ParseFile(filename,  
    535                                                                    mSceneGraph->GetRoot(), 
    536                                                                    mLoadMeshes, 
    537                                                                    fi); 
    538                                                  
     536                                                                                   mSceneGraph->GetRoot(), 
     537                                                                                   mLoadMeshes, 
     538                                                                                   fi); 
     539 
    539540                                cout << "loaded " << (int)mSceneGraph->GetRoot()->mGeometry.size() << " entities" << endl; 
     541 
    540542                                // only works for triangles 
    541543                                if (result && !mLoadMeshes) 
    542544                                { 
    543545                                        cout << "exporting binary obj to " << bnFile << "... " << endl; 
     546 
    544547                                        ExportBinaryObj(bnFile, mSceneGraph->GetRoot()); 
     548                                 
    545549                                        cout << "finished" << endl; 
    546550                                } 
    547551 
    548552                                delete parser; 
    549                         } 
    550                         else if (0) 
    551                         { 
    552                                 ExportBinaryObj("../data/test.bn", mSceneGraph->GetRoot()); 
    553553                        } 
    554554                } 
     
    741741 
    742742        Environment::GetSingleton()->GetStringValue("ViewCells.filename", buf); 
    743                  
    744743                cout << "loading objects from " << buf << endl; 
    745744 
    746745                // load objects which will be used as pvs entries 
    747746                ObjectContainer pvsObjects; 
    748  
    749                 LoadObjects(buf, pvsObjects, mObjects); 
     747                if (0) LoadObjects(buf, pvsObjects, mObjects); 
    750748 
    751749                cout << "loading view cells from " << buf << endl; 
     
    16491647{ 
    16501648        ObjectsParser parser; 
    1651  
     1649Debug << "here322 " << filename << endl; 
    16521650        const bool success = parser.ParseObjects(filename,  
    16531651                                                                                         pvsObjects,  
Note: See TracChangeset for help on using the changeset viewer.