- Timestamp:
- 06/14/07 17:24:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r2401 r2455 25 25 26 26 27 //using namespace GtpVisibility;28 27 29 28 /*************************************************************/ … … 478 477 if (0) generateScene(1000, 2); // create trees 479 478 } 480 int MaxDepth=30; 481 mSceneMgr->setOption("BiHierarchyMaxDepth", &MaxDepth); 482 int Mode=1; 483 mSceneMgr->setOption("EnhancedVisibility", &Mode); 479 480 int maxDepth = 30; 481 482 mSceneMgr->setOption("BiHierarchyMaxDepth", &maxDepth); 483 484 int mode = 1; 485 486 mSceneMgr->setOption("EnhancedVisibility", &mode); 484 487 mSceneMgr->setOption("RebuildBiHierarchy", NULL); 485 488 mSceneMgr->setOption("RebuildKdTree", NULL); … … 509 512 //-- add animation state for new robots (located at the end of the list) 510 513 511 for ( int i = (int)entList->size() - num; i < (int)entList->size(); ++i)514 for (size_t i = entList->size() - (unsigned int)num; i < entList->size(); ++ i) 512 515 { 513 516 mEntityStates.push_back(new EntityState((*entList)[i],
Note: See TracChangeset
for help on using the changeset viewer.