Changeset 2183 for GTP/trunk/App/Demos/Vis/HillyTerrain
- Timestamp:
- 03/02/07 13:13:24 (18 years ago)
- 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 1537 1537 case KC_F5: 1538 1538 { 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()); 1539 1544 const bool fromPoint = false; 1540 applyVisibilityQuery(fromPoint, mShiftPressed, mUseItemBuffer);1545 //applyVisibilityQuery(fromPoint, mShiftPressed, mUseItemBuffer); 1541 1546 break; 1542 1547 } -
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrain.vcproj
r2171 r2183 22 22 Optimization="0" 23 23 AdditionalIncludeDirectories=""$(OGRE_PATH)\Dependencies\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_ADDONS_PATH)\dotsceneoctree\PlugIns\DotSceneManager\include";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";..\..\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" 25 25 MinimalRebuild="TRUE" 26 26 BasicRuntimeChecks="3" … … 83 83 OptimizeForWindowsApplication="TRUE" 84 84 AdditionalIncludeDirectories=""$(OGRE_PATH)\Dependencies\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";..\..\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_MODULE 1"85 PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE" 86 86 RuntimeLibrary="2" 87 87 RuntimeTypeInfo="FALSE" -
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r2168 r2183 454 454 ///////// 455 455 //-- load parameters & scene 456 loadConfig("terrainCulling.cfg");456 //loadConfig("terrainCulling.cfg"); 457 457 458 458 ///////////////////////////////////// … … 534 534 { 535 535 // the objects are generated randomly distributed over the terrain 536 if (1) generateScene( 1500, 0); // create robots536 if (1) generateScene(500, 0); // create robots 537 537 if (0) generateScene(100, 1); // create trees 538 if ( 0) generateScene(100, 2); // create ninjas538 if (1) generateScene(1000, 2); // create ninjas 539 539 } 540 540 }
Note: See TracChangeset
for help on using the changeset viewer.