Changeset 3861 in orxonox.OLD for orxonox/branches/shadows/src/world.cc
- Timestamp:
- Apr 17, 2005, 10:53:00 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/shadows/src/world.cc
r3839 r3861 400 400 401 401 // 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"); 404 404 // Setting the illumination mode otherwise it is flat-shaded. 405 boden->setIllum(3);406 boden->select();405 //boden->setIllum(3); 406 //boden->select(); 407 407 int sizeX = 100; 408 408 int sizeZ = 80; … … 579 579 // draw entities 580 580 581 581 582 582 WorldEntity* entity; 583 583 entity = this->entities->enumerate(); … … 595 595 //glLoadIdentity(); 596 596 597 597 shadow->draw(); 598 598 599 599 … … 603 603 604 604 skysphere->draw(); 605 shadow->draw();605 606 606 607 607 … … 691 691 skysphere->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z); 692 692 shadow->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z); 693 693 694 //for( int i = 0; i < tracklen; i++) track[i].tick (seconds); 694 695 }
Note: See TracChangeset
for help on using the changeset viewer.