Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 12, 2007, 11:34:58 PM (16 years ago)
Author:
nicolape
Message:
  • Skybox and ambient light load now from level file sample.oxw. Added objects to and methods to parse this tags. Added a tokenizer function to split strings into smaller strings (for reading out the light colours for examle). Moved Tokenizer and String2number into misc directory. deleted old unised xml class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/orxonox.cc

    r505 r507  
    5656#include "core/Factory.h"
    5757
    58 #include "../xml/xmlParser.h"
    5958#include "../loader/LevelLoader.h"
    6059#include "../audio/AudioManager.h"
     
    360359  {
    361360    SceneManager *mgr = ogre_->getSceneManager();
     361   
    362362    Camera *cam = mgr->createCamera("Camera");
    363363    cam->setPosition(Vector3(0,0,-250));
     
    370370    node->attachObject(head);
    371371    node->attachObject(cam);
    372     mgr->setSkyBox(true, "Examples/SceneSkyBox2");
     372   
     373   
    373374
    374375    Entity* head1 = mgr->createEntity("head1", "ogrehead.mesh");
Note: See TracChangeset for help on using the changeset viewer.