Changeset 8591 in orxonox.OLD for branches/bsp_model/src/lib/graphics
- Timestamp:
- Jun 19, 2006, 11:03:58 PM (19 years ago)
- Location:
- branches/bsp_model/src/lib/graphics/importer/md3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_animation_cfg.h
r8545 r8591 10 10 11 11 #include "vector.h" 12 13 #include "base_object.h" 12 14 13 15 #include <string> … … 27 29 * a class with metadata describing an MD3 model animation 28 30 */ 29 class MD3AnimationCfg 31 class MD3AnimationCfg : public BaseObject 30 32 { 31 33 -
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.cc
r8590 r8591 79 79 void MD3Model::autoAssemblePlayerModel(std::string filename, float scaling) 80 80 { 81 // this->md3Data = new MD3Data(filename, filename, scaling);82 // MD3AnimationCfg cfg("/home/boenzlip/tmp/q3/Downloads/MOH/q3mdl-alien3/models/players/alien3/animation.cfg");81 std::string cfgName(filename + "/animation.cfg"); 82 this->config = (MD3AnimationCfg*)ResourceManager::getInstance()->load(cfgName, MD3_CONFIG, RP_GAME); 83 83 84 84 85 85 //first load the torso 86 86 std::string name(filename + "/upper.md3"); 87 PRINTF(0)("data dir: %s\n", ResourceManager::getInstance()->getFullName(name).c_str());88 89 // this->md3Data = new MD3Data(name, name, scaling);90 87 this->md3Data = (MD3Data*)ResourceManager::getInstance()->load(name, MD3, RP_GAME, name, scaling); 91 88 -
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.h
r8579 r8591 21 21 class MD3Mesh; 22 22 class MD3Tag; 23 class MD3AnimationCfg; 23 24 24 25 struct MD3Normal; … … 65 66 float** tmpMatrix; //!< a temporary matrix 66 67 68 MD3AnimationCfg* config; //!< the config file parsed 67 69 }; 68 70
Note: See TracChangeset
for help on using the changeset viewer.