Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 22, 2007, 12:15:02 PM (17 years ago)
Author:
bknecht
Message:

commented out references to not existing data, bringing orxonox closer to compiling

File:
1 edited

Legend:

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

    r74 r78  
    8181        // ...
    8282      mSceneMgr->setAmbientLight( ColourValue( 0.3, 0.3, 0.3 ) );
    83       Entity* head = mSceneMgr->createEntity("head", "ogrehead.mesh");
     83      //Entity* head = mSceneMgr->createEntity("head", "ogrehead.mesh");
    8484
    85       Entity* head2 = mSceneMgr->createEntity("head2", "ogrehead.mesh");
     85      //Entity* head2 = mSceneMgr->createEntity("head2", "ogrehead.mesh");
    8686
    8787      SceneNode *node = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode", Vector3( 0, 0, 0 ) );
    88       node->attachObject( head );
     88      //node->attachObject( head );
    8989
    9090      SceneNode *node2 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode2", Vector3( 50, 0, 0 ) );
    91       node2->attachObject( head2 );
     91      //node2->attachObject( head2 );
    9292
    9393
    94       mSceneMgr->setSkyBox(true, "Examples/SpaceSkyBox");
     94      //mSceneMgr->setSkyBox(true, "Examples/SpaceSkyBox");
    9595
    9696      Light *light = mSceneMgr->createLight("Light1");
     
    102102      BillboardSet *bbs = mSceneMgr->createBillboardSet("bb", 1);
    103103      bbs->createBillboard(Vector3::ZERO, ColourValue(1.0, 0.0, 0.0));
    104       bbs->setMaterialName("Examples/Flare");
     104      //bbs->setMaterialName("Examples/Flare");
    105105
    106106      lightNode = mSceneMgr->getRootSceneNode()->createChildSceneNode("LightNode", Vector3(0, 100, 0));
Note: See TracChangeset for help on using the changeset viewer.