Changeset 8578 in orxonox.OLD for branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc
- Timestamp:
- Jun 18, 2006, 11:45:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc
r8573 r8578 360 360 for( int i = 0; i < this->meshes[mesh]->header->textureNum; i++) { 361 361 PRINTF(0)(" texture file: %s\n", tex[i].fileName); 362 this->meshes[mesh]->material[i].setDiffuseMap(tex[i].fileName); 362 std::string path("/home/boenzlip/tmp/q3/Downloads/MOH/q3mdl-alien3/"); 363 std::string path1(tex[i].fileName); 364 std::string fullPath( path + path1); 365 this->meshes[mesh]->material[i].setDiffuseMap(/*tex[i].fileName*/ /*fullPath.c_str()*/ "maps/blue_torso.tga"); 363 366 this->meshes[mesh]->material[i].setAmbient(1, 1, 1); 364 367 }
Note: See TracChangeset
for help on using the changeset viewer.