Changeset 107 for code/trunk
- Timestamp:
- Oct 25, 2007, 11:45:51 PM (17 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/bin/resources.cfg
r89 r107 6 6 # Resource locations to be added to the default path 7 7 [General] 8 FileSystem=../Media9 FileSystem=../Media/fonts8 #FileSystem=../Media 9 #FileSystem=../Media/fonts 10 10 #FileSystem=../Media/materials/programs 11 11 #FileSystem=../Media/materials/scripts … … 14 14 #FileSystem=../Media/overlays 15 15 #FileSystem=../Media/particle 16 FileSystem=../Media/gui16 #FileSystem=../Media/gui 17 17 #FileSystem=../Media/DeferredShadingMedia 18 18 #Zip=../Media/packs/cubemap.zip … … 21 21 #Zip=../Media/packs/fresneldemo.zip 22 22 #Zip=../Media/packs/ogretestmap.zip 23 Zip=../Media/packs/skybox.zip23 #Zip=../Media/packs/skybox.zip -
code/trunk/src/orxonox.cc
r89 r107 32 32 SceneNode *lightNode; 33 33 34 class FrameListener : public ExampleFrameListener34 class OrxFrameListener : public ExampleFrameListener 35 35 { 36 36 public: 37 FrameListener(RenderWindow* win, Camera* cam, SceneManager *sceneMgr)37 OrxFrameListener(RenderWindow* win, Camera* cam, SceneManager *sceneMgr) 38 38 : ExampleFrameListener(win, cam, false, false) 39 39 { … … 83 83 // add tutorial code here: 84 84 // ... 85 mSceneMgr->setAmbientLight( ColourValue( 0.3, 0.3, 0.3 ) );85 //mSceneMgr->setAmbientLight( ColourValue( 0.3, 0.3, 0.3 ) ); 86 86 //Entity* head = mSceneMgr->createEntity("head", "ogrehead.mesh"); 87 87 88 88 //Entity* head2 = mSceneMgr->createEntity("head2", "ogrehead.mesh"); 89 89 90 SceneNode *node = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode", Vector3( 0, 0, 0 ) );90 //ceneNode *node = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode", Vector3( 0, 0, 0 ) ); 91 91 //node->attachObject( head ); 92 92 93 SceneNode *node2 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode2", Vector3( 50, 0, 0 ) );93 //SceneNode *node2 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode2", Vector3( 50, 0, 0 ) ); 94 94 //node2->attachObject( head2 ); 95 95 … … 116 116 { 117 117 // create frame listener 118 mFrameListener = new ExampleFrameListener(mWindow, mCamera, mSceneMgr);118 mFrameListener = new OrxFrameListener(mWindow, mCamera, mSceneMgr); 119 119 mRoot->addFrameListener(mFrameListener); 120 120 }
Note: See TracChangeset
for help on using the changeset viewer.