Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2005, 5:17:21 PM (20 years ago)
Author:
patrick
Message:

orxonox/branches/md2_loader: started cleaning up: put model and md2model together

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/src/world_entities/test_entity.cc

    r4163 r4168  
    2828TestEntity::TestEntity () : WorldEntity()
    2929
    30   MD2Loader* md2loader = new MD2Loader();
    31   this->model = new t3DModel;
    3230  this->md2Model = new MD2Model();
    3331
    34   md2loader->importMD2(this->model, "../data/models/tris.md2", "../data/models/tris.pcx");
    35 
    36   this->material = new Material("Sky");
     32  this->material = new Material("Clown");
    3733  this->material->setDiffuseMap("../data/models/tris.pcx");
    3834  this->material->setIllum(3);
     
    7066  glMultMatrixf((float*)matrix);
    7167 
    72   //this->model->draw();
     68
    7369  /* TESTGING TESTING TESTING */
    7470  this->material->select();
    7571  //this->md2Model->draw(this->model);
    76   this->md2Model->animate(this->model);
     72  this->md2Model->animate();
    7773
    7874  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.