Changeset 507 for code/branches/FICN/src/orxonox
- Timestamp:
- Dec 12, 2007, 11:34:58 PM (18 years ago)
- Location:
- code/branches/FICN/src/orxonox
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r496 r507 7 7 test2.cc 8 8 test3.cc 9 Ambient.cc 10 Skybox.cc 9 11 ) 10 12 -
code/branches/FICN/src/orxonox/objects/test1.cc
r482 r507 72 72 void Test1::loadParams(TiXmlElement* xmlElem) 73 73 { 74 Ogre::SceneManager* mgr = orxonox::Orxonox::getSingleton()->getSceneManager(); 75 76 mgr->setAmbientLight(ColourValue(1,0,0)); 77 78 79 80 std::cout<< xmlElem->GetText()<<std::endl; 74 81 75 82 76 -
code/branches/FICN/src/orxonox/orxonox.cc
r505 r507 56 56 #include "core/Factory.h" 57 57 58 #include "../xml/xmlParser.h"59 58 #include "../loader/LevelLoader.h" 60 59 #include "../audio/AudioManager.h" … … 360 359 { 361 360 SceneManager *mgr = ogre_->getSceneManager(); 361 362 362 Camera *cam = mgr->createCamera("Camera"); 363 363 cam->setPosition(Vector3(0,0,-250)); … … 370 370 node->attachObject(head); 371 371 node->attachObject(cam); 372 mgr->setSkyBox(true, "Examples/SceneSkyBox2"); 372 373 373 374 374 375 Entity* head1 = mgr->createEntity("head1", "ogrehead.mesh");
Note: See TracChangeset
for help on using the changeset viewer.