Changeset 1621


Ignore:
Timestamp:
10/13/06 05:14:34 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBoundingBoxConverter.h

    r1618 r1621  
    157157void PlatFormBoundingBoxConverter<T>::FindIntersectingObjects(const AxisAlignedBox &box, 
    158158                                                                                                                          EntityContainer &objects) const 
    159 { 
     159{//return; 
    160160        list<SceneNode *> sceneNodeList; 
    161161                         
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgrePlatformHierarchyInterface.cpp

    r1595 r1621  
    129129                mOcclusionQueries.push_back(new PlatformOcclusionQuery(mRenderSystem)); 
    130130 
    131                 std::stringstream d; 
     131                /*std::stringstream d; 
    132132                d << "resizing queries: " << (int)mOcclusionQueries.size() << std::endl; 
    133                 LogManager::getSingleton().logMessage(d.str()); 
     133                LogManager::getSingleton().logMessage(d.str());*/ 
    134134        } 
    135135         
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreTypeConverter.cpp

    r1616 r1621  
    4040ManualObject *OgreTypeConverter::ConvertToOgre(GtpVisibilityPreprocessor::Mesh *mesh, SceneManager *sceneMgr) 
    4141{ 
    42         if (!mesh) 
    43                 return NULL; 
     42        //if (!mesh)    return NULL; 
    4443 
    4544        char name[100]; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r1616 r1621  
    613613        if (success) 
    614614        { 
    615                 vm->ResetViewCells(); 
    616  
     615                //vm->ResetViewCells(); 
     616//hack 
     617vm->mViewCells.clear(); 
     618                        ViewCellContainer leaves; 
     619        vm->mViewCellsTree->CollectLeaves(vm->mViewCellsTree->GetRoot(), leaves); 
     620 
     621        ViewCellContainer::const_iterator it, it_end = leaves.end(); 
     622 
     623        for (it = leaves.begin(); it != it_end; ++ it) 
     624        { 
     625                vm->mViewCells.push_back(*it); 
     626        } 
    617627                vm->mViewCellsFinished = true; 
    618628                vm->mMaxPvsSize = (int)objects->size(); 
Note: See TracChangeset for help on using the changeset viewer.