Ignore:
Timestamp:
03/02/07 13:13:24 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TerrainFrameListener.cpp

    r2171 r2183  
    15371537        case KC_F5: 
    15381538                { 
     1539                        unsigned int pixels = 0; 
     1540                        mSceneMgr->getOption("VisibleObjects", &pixels); 
     1541 
     1542                        std::stringstream d; d << "visible objects: " << pixels; 
     1543                        LogManager::getSingleton().logMessage(d.str()); 
    15391544                        const bool fromPoint = false; 
    1540                         applyVisibilityQuery(fromPoint, mShiftPressed, mUseItemBuffer); 
     1545                        //applyVisibilityQuery(fromPoint, mShiftPressed, mUseItemBuffer); 
    15411546                        break; 
    15421547                } 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrain.vcproj

    r2171 r2183  
    2222                                Optimization="0" 
    2323                                AdditionalIncludeDirectories="&quot;$(OGRE_PATH)\Dependencies\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include\CEGUI&quot;;&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\include&quot;;&quot;$(OGRE_ADDONS_PATH)\dotsceneoctree\PlugIns\DotSceneManager\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include&quot;;..\..\GtpVisibility\include;..\..\Ogre\include;..\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\IVReader\include" 
    24                                 PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_DEBUG;WIN32;_STLP_DEBUG;GTP_VISIBILITY_MODIFIED_OGRE" 
     24                                PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_DEBUG;WIN32;_STLP_DEBUG;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE" 
    2525                                MinimalRebuild="TRUE" 
    2626                                BasicRuntimeChecks="3" 
     
    8383                                OptimizeForWindowsApplication="TRUE" 
    8484                                AdditionalIncludeDirectories="&quot;$(OGRE_PATH)\Dependencies\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include\CEGUI&quot;;&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include&quot;;..\..\Ogre\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\include;..\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\IVReader\include" 
    85                                 PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE1" 
     85                                PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE" 
    8686                                RuntimeLibrary="2" 
    8787                                RuntimeTypeInfo="FALSE" 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp

    r2168 r2183  
    454454        ///////// 
    455455        //-- load parameters & scene 
    456         loadConfig("terrainCulling.cfg"); 
     456        //loadConfig("terrainCulling.cfg"); 
    457457         
    458458        ///////////////////////////////////// 
     
    534534        { 
    535535                // the objects are generated randomly distributed over the terrain 
    536                 if (1) generateScene(1500, 0); // create robots 
     536                if (1) generateScene(500, 0); // create robots 
    537537                if (0) generateScene(100, 1); // create trees 
    538                 if (0) generateScene(100, 2); // create ninjas 
     538                if (1) generateScene(1000, 2); // create ninjas 
    539539        } 
    540540} 
Note: See TracChangeset for help on using the changeset viewer.