Changeset 2525 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 07/03/07 22:18:15 (17 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src/SpaceStation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/SpaceStation/include/SpaceStation.h
r2520 r2525 29 29 30 30 bool highQuality = true; 31 bool chc = false; 31 32 32 33 Scene* NXScene = 0; … … 483 484 void chooseSceneManager() 484 485 { 485 //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 486 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 486 if(chc) 487 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 488 else 489 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 487 490 } 488 491 … … 492 495 493 496 std::string occlusion_cfg("OcclusionCulling.cfg"); 497 if(chc) 494 498 mSceneMgr->setWorldGeometry(occlusion_cfg); 495 499 -
GTP/trunk/App/Demos/Illum/Ogre/src/SpaceStation/src/SpaceStation.cpp
r2472 r2525 45 45 if(StringUtil::match(args, "low")) 46 46 highQuality = false; 47 if(StringUtil::match(args, "chc")) 48 chc = true; 47 49 #endif 48 50 // Create application object
Note: See TracChangeset
for help on using the changeset viewer.