Changeset 2260 for GTP/trunk/App/Demos/Illum/Ogre/src/DiffuseTest/include
- Timestamp:
- 03/19/07 09:37:44 (18 years ago)
- File:
-
- 1 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);
Note: See TracChangeset
for help on using the changeset viewer.