Changeset 9863 in orxonox.OLD for branches/new_class_id/src/lib/graphics/importer
- Timestamp:
- Oct 2, 2006, 4:53:38 PM (19 years ago)
- Location:
- branches/new_class_id/src/lib/graphics/importer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/importer/material.cc
r9833 r9863 261 261 } 262 262 263 264 265 /**266 * @brief Adds a Texture Path to the List of already existing Paths267 * @param pathName The Path to add.268 */269 void Material::addTexturePath(const std::string& pathName)270 {271 printf("HUPS\n");272 //ResourceManager::getInstance()->addImageDir(pathName);273 }274 263 275 264 /** -
branches/new_class_id/src/lib/graphics/importer/material.h
r9823 r9863 67 67 const Texture& diffuseTexture(unsigned int i = 0) const { return this->textures[i]; }; 68 68 69 static void addTexturePath(const std::string& pathName);70 71 69 static const std::string& blendFuncToString(GLenum blendFunc); 72 70 static GLenum stringToBlendFunc(const std::string& blendFuncString); -
branches/new_class_id/src/lib/graphics/importer/md2/md2Model.cc
r9828 r9863 92 92 rebuildInfo(); 93 93 94 this->debug();94 //this->debug(); 95 95 } 96 96 -
branches/new_class_id/src/lib/graphics/importer/objModel.cc
r9831 r9863 19 19 20 20 #include <string.h> 21 #include "loading/resource_manager.h" 21 22 22 23 #define PARSELINELENGTH 8192 … … 76 77 else 77 78 this->objPath = "./"; 78 Material::addTexturePath(this->objPath);79 Resources::ResourceManager::getInstance()->addResourcePath("Texture", this->objPath); 79 80 80 81 this->readFromObjFile (fileName);
Note: See TracChangeset
for help on using the changeset viewer.