Changeset 2057 for GTP/trunk/App/Demos/Illum/Ogre/src/DiffuseTest
- Timestamp:
- 01/24/07 21:46:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/DiffuseTest/include/DiffuseTest.h
r2025 r2057 360 360 ResourceGroupManager::getSingleton().initialiseResourceGroup("General"); 361 361 ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 362 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Basic"); 363 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Diffuse"); 362 364 } 363 365 … … 652 654 653 655 Entity* object = mSceneMgr->createEntity("object", "buddha.mesh"); 654 object->setMaterialName("G ameTools/Diffuse/use");656 object->setMaterialName("GTP/Diffuse/Disc2Point"); 655 657 //object->setMaterialName("GameTools/DiffuseP2P"); 656 658 objectNode = rootNode->createChildSceneNode(); … … 658 660 objectNode->scale(0.4,0.4,0.4); 659 661 objectNode->rotate(Vector3(0,1,0),Radian(Math::PI)); 660 objectNode->setPosition(0, 0,0);662 objectNode->setPosition(0,1,0); 661 663 objectNode->_updateBounds(); 662 664
Note: See TracChangeset
for help on using the changeset viewer.