Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3861 in orxonox.OLD for orxonox/branches/shadows/src/world.cc


Ignore:
Timestamp:
Apr 17, 2005, 10:53:00 PM (20 years ago)
Author:
dave
Message:

branches/shadows:nicht ueberraschen lassen von der weissen Farbe, ist debugphase, und von dem her einfach mal eine Zwischenspeicherung

File:
1 edited

Legend:

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

    r3839 r3861  
    400400 
    401401  // Initializing the Ground, and loading a Texture into it.
    402   Material* boden = new Material("Ground");
    403   boden->setDiffuseMap("../data/pictures/ground.tga");
     402  //Material* boden = new Material("Ground");
     403  //boden->setDiffuseMap("../data/pictures/ground.tga");
    404404  // Setting the illumination mode otherwise it is flat-shaded.
    405   boden->setIllum(3);
    406   boden->select();
     405  //boden->setIllum(3);
     406  //boden->select();
    407407  int sizeX = 100;
    408408  int sizeZ = 80;
     
    579579  // draw entities
    580580 
    581 
     581 
    582582  WorldEntity* entity;
    583583  entity = this->entities->enumerate();
     
    595595  //glLoadIdentity();
    596596 
    597  
     597   shadow->draw();
    598598 
    599599
     
    603603 
    604604  skysphere->draw();
    605   shadow->draw();
     605 
    606606 
    607607 
     
    691691  skysphere->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z);
    692692  shadow->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z);
     693 
    693694  //for( int i = 0; i < tracklen; i++) track[i].tick (seconds);
    694695}
Note: See TracChangeset for help on using the changeset viewer.