Changeset 2334 for GTP/trunk/App/Demos/Illum/Ogre/src/DiffuseTest/include
- Timestamp:
- 04/24/07 14:05:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/DiffuseTest/include/DiffuseTest.h
r2260 r2334 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_Simple"); 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 std::string occlusion_cfg("OcclusionCulling.cfg");404 mSceneMgr->setWorldGeometry(occlusion_cfg);405 //createPostproc();403 //std::string occlusion_cfg("OcclusionCulling.cfg"); 404 //mSceneMgr->setWorldGeometry(occlusion_cfg); 405 createPostproc(); 406 406 407 407 OgreIlluminationManager::getSingleton().setMainCamera(mCamera); … … 661 661 662 662 Entity* object = mSceneMgr->createEntity("object", "buddha.mesh"); 663 object->setMaterialName("GTP/Diffuse/Disc2Point");663 //object->setMaterialName("GTP/Diffuse/Disc2Point"); 664 664 //object->setMaterialName("GTP/Diffuse/Poly2Point"); 665 object->setMaterialName("GTP/Diffuse/Poly2PointSimple"); 666 665 667 objectNode = rootNode->createChildSceneNode(); 666 668 objectNode->attachObject(object);
Note: See TracChangeset
for help on using the changeset viewer.