Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10317 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Jan 24, 2007, 1:30:29 AM (17 years ago)
Author:
patrick
Message:

merged branche data-fix back to trunk. this breaks compatibility with the old data/trunk data repository! be sure to update your data trunk

Location:
trunk/src/lib/graphics
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/bsp/bsp_file.cc

    r10314 r10317  
    426426{
    427427  ::std::string absFileName;
    428   char* baseName = "/worlds/bsp/";
     428  char* baseName = "/textures/";
    429429
    430430  char fileName [500];
     
    448448    //this->Materials[i]->setShininess(100.0);
    449449   // 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");
    453453    this->Materials[i].alpha = false;
    454454    this->Materials[i].animated = false;
     
    595595    //this->Materials[i]->setShininess(100.0);
    596596    //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");
    600600    this->Materials[i].alpha = true;
    601601    this->Materials[i].animated = false;
  • trunk/src/lib/graphics/importer/md3/md3_data.cc

    r8724 r10317  
    425425    std::string path1(tex[i].fileName);
    426426    std::string fullPath( path + path1);
    427     this->meshes[mesh]->material[i].setDiffuseMap(/*tex[i].fileName*/ /*fullPath.c_str()*/ "maps/creatures/gork/gorkup.tga");
     427    this->meshes[mesh]->material[i].setDiffuseMap(/*tex[i].fileName*/ /*fullPath.c_str()*/ "textures/creatures/gork/gorkup.tga");
    428428    this->meshes[mesh]->material[i].setAmbient(1, 1, 1);
    429429  }
  • trunk/src/lib/graphics/render2D/image_plane.cc

    r10114 r10317  
    5959
    6060  //this->setBindNode(this);
    61   this->setTexture("pictures/error_texture.png");
     61  this->setTexture("textures/error_texture.png");
    6262}
    6363
Note: See TracChangeset for help on using the changeset viewer.