Ignore:
Timestamp:
02/06/07 20:33:48 (17 years ago)
Author:
mattausch
Message:

revived ogre engine pvs

File:
1 edited

Legend:

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

    r2093 r2097  
    278278        // associate object ids with bounding boxes 
    279279        const long startTime = GetTime(); 
    280          
     280        Debug<<"here32232"<<endl; 
    281281        if (mBoundingBoxConverter) 
    282         { 
     282        {Debug<<"here3772"<<endl; 
    283283                mBoundingBoxConverter->IdentifyObjects(mIBoundingBoxes, *mObjects); 
    284284        } 
     
    433433                else 
    434434                { 
    435                         Debug << "error: object with id " << objId << " does not exist" << endl; 
     435                        Debug << "exchangePvs error: object with id " << objId << " does not exist" << endl; 
    436436                } 
    437437        } 
     
    573573                dummyInst.SetId(objId); 
    574574 
    575                 ObjectContainer::iterator oit = 
    576                         lower_bound(mObjects->begin(),  
    577                         mObjects->end(),  
    578                         (Intersectable *)&dummyInst, ilt);       
     575                ObjectContainer::iterator oit =  
     576                                                                lower_bound(mObjects->begin(),  
     577                                                                                        mObjects->end(),  
     578                                                                                        (Intersectable *)&dummyInst, ilt);       
    579579 
    580580                if ((oit != mObjects->end()) && ((*oit)->GetId() == objId)) 
     
    584584                        // temporarily set to 1.0f 
    585585                        pvs.AddSample(*oit, 1.0f); 
     586                        //Debug << "y"; 
    586587                } 
    587588                else 
    588589                { 
    589                         Debug << "error: object with id " << objId << " does not exist" << endl; 
     590                        Debug << "x"; 
     591                        //Debug << "StartViewCellPvs error: object with id " << objId << " does not exist" << endl; 
    590592                } 
    591593#endif 
     
    13331335                else 
    13341336                { 
    1335                         cerr << "error: object with id " << objId << " does not exist" << endl; 
     1337                        cerr << "StartBvhLeafObjects error: object with id " << objId << " does not exist" << endl; 
    13361338                } 
    13371339        } 
Note: See TracChangeset for help on using the changeset viewer.