Ignore:
Timestamp:
07/06/07 03:19:45 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
Files:
4 edited

Legend:

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

    r2513 r2532  
    217217        GtpVisibility::QueryList::iterator projQueryIt = queryList[1].begin(); 
    218218         
    219         if (1) 
    220         {        
    221                 // collect occlusion queries for hierarchy nodes 
    222                 CollectNodeVisibility(visQueryIt,  
     219        // collect occlusion queries for hierarchy nodes 
     220        CollectNodeVisibility(visQueryIt,  
    223221                        projQueryIt,  
    224222                        &nodeList,  
    225223                        visibleNodes,  
    226224                        relativeVisibility); 
    227         } 
    228  
    229         if (1) 
    230         {        
    231                 CollectGeometryVisibility(visQueryIt,  
     225         
     226        CollectGeometryVisibility(visQueryIt,  
    232227                        projQueryIt,  
    233228                        &geometryList,  
    234229                        visibleGeometry,  
    235230                        relativeVisibility); 
    236         } 
    237  
    238         if (1) 
    239         { 
    240                 // collect occlusion queries for patches 
    241                 CollectPatchVisibility(visQueryIt,  
     231 
     232        // collect occlusion queries for patches 
     233        CollectPatchVisibility(visQueryIt,  
    242234                        projQueryIt,  
    243235                        &patchList,  
    244236                        visiblePatches,  
    245237                        relativeVisibility); 
    246         } 
    247238 
    248239 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreSolidBoundingBox.cpp

    r2455 r2532  
    129129 
    130130                Pass *queryPass = m_pMaterial->getTechnique(0)->getPass(0); 
     131 
    131132                queryPass->setColourWriteEnabled(false); 
    132133                queryPass->setDepthWriteEnabled(false); 
     
    137138} 
    138139 
    139 // Override this method to prevent parent transforms (rotation,translation,scale) 
     140// Override this method to prevent parent transforms (rotation, translation, scale) 
    140141void SolidBoundingBox::getWorldTransforms(Matrix4* xform) const 
    141142{ 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreSolidHalfBoundingBox.cpp

    r1146 r2532  
    101101} 
    102102 
     103 
    103104} // namespace Ogre 
    104  
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/Plugin_VisibilitySceneManager.vcproj

    r2513 r2532  
    9292                                OptimizeForWindowsApplication="TRUE" 
    9393                                AdditionalIncludeDirectories=""$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Dependencies\include";..\include;..\..\..\OnlineCullingCHC\include;..\..\..\Preprocessing\src;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\IVReader\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\ObjReader\include" 
    94                                 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;PLUGIN_KD_TERRAIN_EXPORTS;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE" 
     94                                PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;PLUGIN_KD_TERRAIN_EXPORTS;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE1" 
    9595                                StringPooling="TRUE" 
    9696                                RuntimeLibrary="2" 
Note: See TracChangeset for help on using the changeset viewer.