Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3408 in orxonox.OLD for orxonox/branches/dave/src/world.cc


Ignore:
Timestamp:
Feb 18, 2005, 4:56:49 PM (20 years ago)
Author:
dave
Message:

branches/dave/src: Die Skybox bewegt sich schon mal, dafuer neuer fehler beim Steuern

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/dave/src/world.cc

    r3407 r3408  
    290290            orx->getLocalInput()->bind (myPlayer);
    291291           
     292           
    292293            // create skybox
    293            
    294             this->skybox = new Skybox();
     294            this->skybox =new Skybox();
     295                   
    295296                   
    296297            // bind camera
     
    394395 
    395396 
    396   Material* sky = new Material("Sky");
     397  sky = new Material("Sky");
    397398  sky->setDiffuseMap("../data/pictures/sky-replace.jpg");
    398   sky->setIllum(2);
     399  sky->setIllum(3);
    399400 
    400401 
     
    525526  glEnable(GL_TEXTURE_2D);
    526527  sky->select();
    527   skybox->draw();
     528 
    528529 
    529530  glEndList(); 
     
    593594  // draw debug coord system
    594595  //glLoadIdentity();
     596 
    595597  glCallList (objectList);
    596 
     598  skybox->draw(localPlayer);
     599 
    597600}
    598601
     
    607610void World::update ()
    608611{
     612   
    609613  /*
    610614  //List<WorldEntity> *l;
     
    674678      entity = entities->nextElement();
    675679    }
    676 
     680 
     681 
     682 
    677683  //for( int i = 0; i < tracklen; i++) track[i].tick (seconds);
    678684}
Note: See TracChangeset for help on using the changeset viewer.