Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4714 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Jun 26, 2005, 11:41:29 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: some model refinments

Location:
orxonox/trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/environment.cc

    r4712 r4714  
    3535  this->model = (Model*)ResourceManager::getInstance()->load("models/reaplow.obj"/*"worlds/vulcania.obj"*/, OBJ, RP_CAMPAIGN);
    3636
    37   this->obbTree = new OBBTree(15, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());
     37  this->obbTree = new OBBTree(10, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());
    3838}
    3939
  • orxonox/trunk/src/world_entities/test_entity.cc

    r4712 r4714  
    3131  this->setClassID(CL_TEST_ENTITY, "TestEntity");
    3232
    33   this->md2Model = new MD2Model("models/tris.md2", "models/tris.pcx");
     33//   this->md2Model = new MD2Model("models/tris.md2", "models/tris.pcx");
     34  this->md2Model = new MD2Model("models/shogun.md2", "maps/shogun.pcx");
    3435  this->obbTree = new OBBTree(7, (sVec3D*)this->md2Model->data->pVertices, this->md2Model->data->numVertices);
     36
     37  this->md2Model->setAnim(0);
    3538  this->md2Model->debug();
    3639}
Note: See TracChangeset for help on using the changeset viewer.