Changeset 1862 for code/branches/orxonox_tutorial/src/orxonox/objects
- Timestamp:
- Oct 1, 2008, 9:48:41 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.cc
r1859 r1862 13 13 14 14 // Additional includes 15 #include <OgreEntity.h> 16 #include <OgreSceneNode.h> 17 #include <OgreSceneManager.h> 18 #include <OgreLight.h> 15 19 #include "util/Convert.h" 16 20 #include "util/Debug.h" … … 20 24 #include "core/input/InputManager.h" 21 25 #include "core/XMLPort.h" 26 #include "GraphicsEngine.h" 22 27 23 28 namespace orxonox … … 71 76 // Display a message in shell/logfile/console 72 77 COUT(3) << "TutorialShip was loaded." << std::endl; 78 79 // Additional tutorial expedition 80 //Ogre::SceneNode* shipNode = this->getNode(); 81 //Ogre::SceneManager* mgr = GraphicsEngine::getInstance().getLevelSceneManager(); 82 //Ogre::SceneNode* newNode = shipNode->createChildSceneNode("newNode"); 83 //Ogre::BillboardSet* bbset = mgr->createBillboardSet("TutBBS"); 84 //bbset->createBillboard(Vector3(0,0,0), ColourValue(1,1,1)); 85 //bbset->setMaterialName("Examples/Flare"); 86 //newNode->setPosition(Vector3(30,0,0)); 87 //newNode->scale(Vector3(0.1)); 88 //newNode->attachObject(bbset); 73 89 } 74 90
Note: See TracChangeset
for help on using the changeset viewer.