Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 1, 2008, 9:48:41 AM (16 years ago)
Author:
rgrieder
Message:

added some open ended stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.cc

    r1859 r1862  
    1313
    1414// Additional includes
     15#include <OgreEntity.h>
     16#include <OgreSceneNode.h>
     17#include <OgreSceneManager.h>
     18#include <OgreLight.h>
    1519#include "util/Convert.h"
    1620#include "util/Debug.h"
     
    2024#include "core/input/InputManager.h"
    2125#include "core/XMLPort.h"
     26#include "GraphicsEngine.h"
    2227
    2328namespace orxonox
     
    7176        // Display a message in shell/logfile/console
    7277        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);
    7389    }
    7490
Note: See TracChangeset for help on using the changeset viewer.