Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4187 in orxonox.OLD


Ignore:
Timestamp:
May 15, 2005, 9:23:18 PM (19 years ago)
Author:
patrick
Message:

orxonox/branches/md2_model: lightning alg extended, now almost complete.

Location:
orxonox/branches/md2_loader/src
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc

    r4172 r4187  
    2424
    2525using namespace std;
     26
     27
     28sVec3D MD2Model2::anorms[NUM_VERTEX_NORMALS] = {
     29 #include "anorms.h"
     30};
     31
     32float MD2Model2::anormsDots[SHADEDOT_QUANT][256] = {
     33  #include "anormtab.h"
     34};
     35
     36static float *shadedots = MD2Model2::anormsDots[0];
     37
    2638
    2739/********************************************************************************
  • orxonox/branches/md2_loader/src/world_entities/test_entity.cc

    r4172 r4187  
    2828TestEntity::TestEntity () : WorldEntity()
    2929
    30   //this->md2Model = new MD2Model();
     30  this->md2Model = new MD2Model();
    3131
    3232  MD2Model2* model2 = new MD2Model2();
     
    4646void TestEntity::tick (float time)
    4747{
    48   //this->md2Model->tick(time);
     48  this->md2Model->tick(time);
    4949}
    5050
     
    7171
    7272  /* TESTGING TESTING TESTING */
    73   //this->material->select();
     73  this->material->select();
    7474  //this->md2Model->draw(this->model);
    75   //this->md2Model->animate();
     75  this->md2Model->animate();
    7676
    7777  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.