Ignore:
Timestamp:
10/11/06 05:35:33 (18 years ago)
Author:
mattausch
Message:

removed vsposp bug

Location:
GTP/trunk/Lib/Vis/OnlineCullingCHC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp

    r1606 r1610  
    7272void OcclusionCullingSceneManager::InitDepthPass() 
    7373{ 
    74         MaterialPtr depthMat = MaterialManager::getSingleton().getByName("Visibility/DepthPass"); 
     74        MaterialPtr depthMat =  
     75                MaterialManager::getSingleton().getByName("Visibility/DepthPass"); 
    7576 
    7677        if (depthMat.isNull()) 
     
    106107    { 
    107108                // Init 
    108                 itemBufferMat = MaterialManager::getSingleton().create("Visibility/ItemBufferPass", 
     109                itemBufferMat =  
     110                        MaterialManager::getSingleton().create("Visibility/ItemBufferPass", 
    109111                ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 
    110112 
     
    132134            ResourceGroupManager::getSingleton().getWorldResourceGroupName()); 
    133135    } 
     136         
    134137        destroyLevelIndexes(); 
    135138    mTerrainPages.clear(); 
     139 
    136140    // Load the configuration 
    137141    loadConfig(stream); 
     
    361365void OcclusionCullingSceneManager::_renderVisibleObjects() 
    362366{ 
    363          
    364367        if (mNormalExecution) 
    365368        { 
    366369                // the standard octree rendering mode 
    367370                TerrainSceneManager::_renderVisibleObjects(); 
     371                getRenderQueue()->clear(mDeleteQueueAfterRendering); 
    368372                return; 
    369373        } 
     
    11231127                // if no there is no view cell, set everything visible 
    11241128                SetObjectsVisible(true); 
     1129 
    11251130                return; 
    11261131        } 
     
    11341139        for (oit = vc->GetPvs().mEntries.begin(); oit != oit_end; ++ oit) 
    11351140        { 
     1141                // no associated geometry found 
    11361142                if (!(*oit).first) continue; 
    11371143 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/README.txt

    r1246 r1610  
    5151 
    5252 
    53 8) start TerrainExampleApplication for testing 
     538) TestCullingTerrain is the test application 
     54 
     55take the path to the Ogre Release as working directory, e.g., 
     56D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release 
     57 
     58start TestCullingTerrain 
Note: See TracChangeset for help on using the changeset viewer.