Changeset 10317 in orxonox.OLD for trunk/src/lib/graphics/importer/bsp
- Timestamp:
- Jan 24, 2007, 1:30:29 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/bsp/bsp_file.cc
r10314 r10317 426 426 { 427 427 ::std::string absFileName; 428 char* baseName = "/ worlds/bsp/";428 char* baseName = "/textures/"; 429 429 430 430 char fileName [500]; … … 448 448 //this->Materials[i]->setShininess(100.0); 449 449 // this->Materials[i].mat->setTransparency(1.0); 450 this->Materials[i].mat->setDiffuseMap(" pictures/ground.tga");451 this->Materials[i].mat->setAmbientMap(" pictures/ground.tga");452 this->Materials[i].mat->setSpecularMap(" pictures/ground.tga");450 this->Materials[i].mat->setDiffuseMap("textures/ground.tga"); 451 this->Materials[i].mat->setAmbientMap("textures/ground.tga"); 452 this->Materials[i].mat->setSpecularMap("textures/ground.tga"); 453 453 this->Materials[i].alpha = false; 454 454 this->Materials[i].animated = false; … … 595 595 //this->Materials[i]->setShininess(100.0); 596 596 //this->Materials[i].mat->setTransparency(1.0); 597 this->Materials[i].mat->setDiffuseMap(" pictures/error_texture.png");598 this->Materials[i].mat->setAmbientMap(" pictures/error_texture.png");599 this->Materials[i].mat->setSpecularMap(" pictures/error_texture.png");597 this->Materials[i].mat->setDiffuseMap("textures/error_texture.png"); 598 this->Materials[i].mat->setAmbientMap("textures/error_texture.png"); 599 this->Materials[i].mat->setSpecularMap("textures/error_texture.png"); 600 600 this->Materials[i].alpha = true; 601 601 this->Materials[i].animated = false;
Note: See TracChangeset
for help on using the changeset viewer.