Changeset 2443 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 06/12/07 12:05:35 (17 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/Common/src/FPSPlayer.cpp
r2418 r2443 239 239 Quaternion q; 240 240 q.FromAxes(right,Vector3::UNIT_Y,dir); 241 mPlayerCharacter->setDirection(q);241 //mPlayerCharacter->setDirection(q); 242 242 if(mCharacterController ) 243 243 ((MyCharMoveController*)mCharacterController)->movespeed = 1.5; -
GTP/trunk/App/Demos/Illum/Ogre/src/DiffuseTest/include/DiffuseTest.h
r2334 r2443 361 361 ResourceGroupManager::getSingleton().initialiseResourceGroup("PostProc"); 362 362 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Basic"); 363 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Diffuse_Simple"); 363 //ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Diffuse_Simple"); 364 ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_Diffuse"); 364 365 } 365 366 … … 403 404 //std::string occlusion_cfg("OcclusionCulling.cfg"); 404 405 //mSceneMgr->setWorldGeometry(occlusion_cfg); 405 createPostproc();406 //createPostproc(); 406 407 407 408 OgreIlluminationManager::getSingleton().setMainCamera(mCamera); … … 662 663 Entity* object = mSceneMgr->createEntity("object", "buddha.mesh"); 663 664 //object->setMaterialName("GTP/Diffuse/Disc2Point"); 664 //object->setMaterialName("GTP/Diffuse/Poly2Point");665 object->setMaterialName("GTP/Diffuse/Poly2PointSimple");665 object->setMaterialName("GTP/Diffuse/Poly2Point"); 666 //object->setMaterialName("GTP/Diffuse/Poly2PointSimple"); 666 667 667 668 objectNode = rootNode->createChildSceneNode(); … … 688 689 redLight1->setDiffuseColour(ColourValue(1,0.055, 0.0)); 689 690 redLight1->setPowerScale(1.6); 691 //redLight1->setPowerScale(0.6); 692 redLight1->setAttenuation(20, 0, 0, 3); 690 693 SceneNode* redLightNode1 = rootNode->createChildSceneNode(); 691 694 redLightNode1->setPosition(0.05,2.361,-1.07); … … 697 700 greenLight1->setDiffuseColour(ColourValue(0.362,0.783, 0.685)); 698 701 greenLight1->setPowerScale(2.0); 702 greenLight1->setAttenuation(20, 0, 0, 3); 703 //greenLight1->setPowerScale(1.0); 699 704 SceneNode* greenLightNode1 = rootNode->createChildSceneNode(); 700 705 greenLightNode1->setPosition(1.312,1.313,0); … … 706 711 mainBlueLight->setDiffuseColour(ColourValue(0.395,0.766, 1.0)); 707 712 mainBlueLight->setPowerScale(5.0); 713 //mainBlueLight->setPowerScale(2.0); 708 714 mainBlueLight->setSpotlightRange(Degree(0),Degree(160)); 709 mainBlueLight->setAttenuation(2.5, 0, 1, 0); 715 mainBlueLight->setAttenuation(2.5, 0, 0, 3); 716 //mainBlueLight->setAttenuation(20, 0, 0, 1); 710 717 SceneNode* mainBlueLightNode = rootNode->createChildSceneNode(); 711 718 mainBlueLightNode->setPosition(-0.546,2.095,1.035); -
GTP/trunk/App/Demos/Illum/Ogre/src/Moria/include/Moria.h
r2418 r2443 377 377 mainLightNode->attachObject(mainLight); 378 378 //mainLight->setSpotlightRange(Degree(0),Degree(120)); 379 mainLight->setAttenuation(200.0, 0, 0, 1);379 mainLight->setAttenuation(200.0, 0, 0, 3); 380 380 /* 381 381 Light* blueLight = mSceneMgr->createLight("blueLight"); -
GTP/trunk/App/Demos/Illum/Ogre/src/PRMDemo/include/PRMDemo.h
r2439 r2443 176 176 OgreIlluminationManager::getSingleton().initTechniques(); 177 177 }*/ 178 178 /* 179 179 void createScene(void) ///TOWERS 180 180 { … … 227 227 228 228 OgreIlluminationManager::getSingleton().initTechniques(); 229 } 230 /* 229 }*/ 230 231 231 void createScene(void) ///PATHMAP Hangar 232 232 { … … 305 305 OgreIlluminationManager::getSingleton().initTechniques(); 306 306 } 307 */307 308 308 void createPlane(Ogre::String _name, Ogre::String _material, Ogre::Vector3 _pos, Ogre::Vector2 _size, Ogre::Vector2 _subdivisions = Ogre::Vector2(1,1)) 309 309 {
Note: See TracChangeset
for help on using the changeset viewer.