Changeset 2525 for GTP/trunk/App/Demos/Illum/Ogre/src/SpaceStation/include
- Timestamp:
- 07/03/07 22:18:15 (17 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.