Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8602 in orxonox.OLD for branches/bsp_model/src


Ignore:
Timestamp:
Jun 20, 2006, 5:34:01 AM (18 years ago)
Author:
patrick
Message:

bsp: workd flush

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_data.cc

    r8597 r8602  
    3737MD3Data::MD3Data(const std::string& modelFileName, const std::string& skinFileName, float scale)
    3838{
     39  this->filename = filename;
    3940
    4041  this->parentTagIndex = -1;
     
    107108//  char* buffer;                           //buffer for frame data
    108109  int fileOffset = 0;                     // file data offset
    109 
    110110
    111111
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_data.h

    r8597 r8602  
    104104
    105105      std::string               filename;          //!< the name of the file as recorded in the .md3 file
    106       std::string               loadFilename;      //!< filename of the actual file from which data was loaded
    107106
    108107      MD3AnimationState         animationState;    //!< the animation state of this model
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_model.cc

    r8601 r8602  
    274274  void MD3Model::draw() const
    275275  {
     276    PRINTF(0)("\ndraw========================\n");
    276277    //draw current bone frame
    277278    this->draw(this->md3Data);
     
    359360  void MD3Model::drawMesh(MD3Mesh* mesh, sVec3D* frame) const
    360361  {
     362    PRINTF(0)("drawMesh: %s\n", mesh->header->name);
     363    Vector tmpVec1, tmpVec2;
     364
    361365    glColor3f(1.0f, 1.0f, 1.0f);
    362 
    363366    glBegin( GL_TRIANGLES);
    364     glScalef( 0.7f , 0.7f, 0.7f );
    365 
    366     Vector tmpVec1, tmpVec2;
    367367
    368368    // upload all triangles in the frame to OpenGL
Note: See TracChangeset for help on using the changeset viewer.