Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8580 in orxonox.OLD for branches/bsp_model/src/lib/graphics


Ignore:
Timestamp:
Jun 19, 2006, 1:45:28 AM (18 years ago)
Author:
patrick
Message:

bsp: md3 more modular loading.

File:
1 edited

Legend:

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

    r8579 r8580  
    7979    this->md3Data = new MD3Data(filename, filename, scaling);
    8080//     MD3AnimationCfg cfg("/home/boenzlip/tmp/q3/Downloads/MOH/q3mdl-alien3/models/players/alien3/animation.cfg");
     81
     82
     83    // load torso
     84//     name = FilenameUtils.getShortFilename(root.loadFilename);
     85//     if( name.find("lower") == 0 && (tagIndex=root.getTagIndexByName("tag_torso")) != -1) {
     86//       filename=searchForPath("upper" + FilenameUtils.getLODPostfix(name) + ".md3", false);
     87//       root=attachModel(root, tagIndex, filename, getInputStreamForPath(filename));
     88//     }
     89
     90    // load head
     91//     name=FilenameUtils.getShortFilename(root.loadFilename);
     92//     if (name.toLowerCase().startsWith("upper") && (tagIndex=root.getTagIndexByName("tag_head")) != -1) {
     93//       filename=searchForPath("head" + FilenameUtils.getLODPostfix(name) + ".md3", false);
     94//       attachModel(root, tagIndex, filename, getInputStreamForPath(filename));
     95//     }
     96
    8197  }
    8298
Note: See TracChangeset for help on using the changeset viewer.