Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2006, 11:45:58 PM (18 years ago)
Author:
patrick
Message:

bsp: md3 model: turned the axis because q3 uses other axis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc

    r8573 r8578  
    360360  for( int i = 0; i < this->meshes[mesh]->header->textureNum; i++) {
    361361    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");
    363366    this->meshes[mesh]->material[i].setAmbient(1, 1, 1);
    364367  }
Note: See TracChangeset for help on using the changeset viewer.