Changeset 2260 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 03/19/07 09:37:44 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/DiffuseTest/include/DiffuseTest.h
r2179 r2260 361 361 ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 362 362 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Basic"); 363 //ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Diffuse");363 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Diffuse"); 364 364 } 365 365 … … 379 379 void chooseSceneManager() 380 380 { 381 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager");382 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager");381 //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 382 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 383 383 } 384 384 … … 401 401 void createScene(void) 402 402 { 403 403 std::string occlusion_cfg("OcclusionCulling.cfg"); 404 mSceneMgr->setWorldGeometry(occlusion_cfg); 404 405 //createPostproc(); 405 406 … … 660 661 661 662 Entity* object = mSceneMgr->createEntity("object", "buddha.mesh"); 662 //object->setMaterialName("GTP/Diffuse/Disc2Point");663 //object->setMaterialName("G ameTools/DiffuseP2P");663 object->setMaterialName("GTP/Diffuse/Disc2Point"); 664 //object->setMaterialName("GTP/Diffuse/Poly2Point"); 664 665 objectNode = rootNode->createChildSceneNode(); 665 666 objectNode->attachObject(object); -
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsParticleDemo/include/GameToolsParticleDemo.h
r2175 r2260 140 140 createPostproc(); 141 141 142 std::string occlusion_cfg("OcclusionCulling.cfg"); 143 mSceneMgr->setWorldGeometry(occlusion_cfg); 144 142 145 OgreIlluminationManager::getSingleton().setMainCamera(mCamera); 143 146 OgreIlluminationManager::getSingleton().setMainViewport(mWindow->getViewport(0)); -
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsRaytraceDemo/include/GameToolsRaytraceDemo.h
r2175 r2260 192 192 void chooseSceneManager() 193 193 { 194 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager");195 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager");194 //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 195 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 196 196 } 197 197 … … 199 199 { 200 200 createPostproc(); 201 202 std::string occlusion_cfg("OcclusionCulling.cfg"); 203 mSceneMgr->setWorldGeometry(occlusion_cfg); 201 204 202 205 OgreIlluminationManager::getSingleton().setMainCamera(mCamera); -
GTP/trunk/App/Demos/Illum/Ogre/src/PRMDemo/include/PRMDemo.h
r2247 r2260 100 100 void chooseSceneManager() 101 101 { 102 mSceneMgr = mRoot->createSceneManager("OctreeSceneManager");103 //mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager");102 //mSceneMgr = mRoot->createSceneManager("OctreeSceneManager"); 103 mSceneMgr = mRoot->createSceneManager("OcclusionCullingSceneManager"); 104 104 } 105 105 … … 219 219 void createScene(void) ///PATHMAP Hangar 220 220 { 221 //std::string occlusion_cfg("OcclusionCulling.cfg");222 //mSceneMgr->setWorldGeometry(occlusion_cfg);221 std::string occlusion_cfg("OcclusionCulling.cfg"); 222 mSceneMgr->setWorldGeometry(occlusion_cfg); 223 223 224 224 //createPostproc();
Note: See TracChangeset
for help on using the changeset viewer.