Changeset 4371 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- May 28, 2005, 9:37:16 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/graphics/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/material.cc
r4370 r4371 83 83 84 84 // setting the transparency 85 /*86 85 if (this->transparency < 1.0) 87 86 { … … 95 94 glColor4f(1.0f, 1.0f, 1.0f, 1.0f); 96 95 } 97 */ 96 98 97 99 98 // setting illumination Model -
orxonox/trunk/src/lib/graphics/importer/objModel.cc
r4370 r4371 75 75 strncpy(this->objPath, fileName, len); 76 76 this->objPath[len] = '\0'; 77 Material::addTexturePath(this->objPath);78 77 PRINTF(1)("Resolved file %s to Path %s.\n", fileName, this->objPath); 79 78 } 79 else 80 this->objPath = "./"; 81 Material::addTexturePath(this->objPath); 82 80 83 this->readFromObjFile (fileName); 81 84 return true;
Note: See TracChangeset
for help on using the changeset viewer.