Changeset 78
- Timestamp:
- Oct 22, 2007, 12:15:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mainloop/src/orxonox.cc
r74 r78 81 81 // ... 82 82 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"); 84 84 85 Entity* head2 = mSceneMgr->createEntity("head2", "ogrehead.mesh");85 //Entity* head2 = mSceneMgr->createEntity("head2", "ogrehead.mesh"); 86 86 87 87 SceneNode *node = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode", Vector3( 0, 0, 0 ) ); 88 node->attachObject( head );88 //node->attachObject( head ); 89 89 90 90 SceneNode *node2 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode2", Vector3( 50, 0, 0 ) ); 91 node2->attachObject( head2 );91 //node2->attachObject( head2 ); 92 92 93 93 94 mSceneMgr->setSkyBox(true, "Examples/SpaceSkyBox");94 //mSceneMgr->setSkyBox(true, "Examples/SpaceSkyBox"); 95 95 96 96 Light *light = mSceneMgr->createLight("Light1"); … … 102 102 BillboardSet *bbs = mSceneMgr->createBillboardSet("bb", 1); 103 103 bbs->createBillboard(Vector3::ZERO, ColourValue(1.0, 0.0, 0.0)); 104 bbs->setMaterialName("Examples/Flare");104 //bbs->setMaterialName("Examples/Flare"); 105 105 106 106 lightNode = mSceneMgr->getRootSceneNode()->createChildSceneNode("LightNode", Vector3(0, 100, 0));
Note: See TracChangeset
for help on using the changeset viewer.