Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4215 in orxonox.OLD for orxonox/branches/md2_loader


Ignore:
Timestamp:
May 18, 2005, 2:29:34 AM (20 years ago)
Author:
patrick
Message:

orxonox/branches/md2_model: flushing work

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

Legend:

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

    r4214 r4215  
    511511 
    512512  this->textureID = 0;
    513   this->scaleFactor = 0.1f;
     513  this->scaleFactor = 1.0f;
    514514
    515515  this->setAnim(STAND);
     
    728728        }
    729729
    730       for(; i > 0; --i, pCommands += 3) /* down counting for loop, next 3 gl commands */
     730      for(; i > 0; i--, pCommands += 3) /* down counting for loop, next 3 gl commands */
    731731        {
    732732          /* for quake2 lighting */
     
    734734          //glColor3f(l * lcolor[0], l * lcolor[1], l * lcolor[2]);
    735735
     736          glNormal3fv(anorms[this->pLightNormals[pCommands[2]]]);
    736737          glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] );
    737           glNormal3fv(anorms[this->pLightNormals[2]]);
    738738          glVertex3fv(verticesList[pCommands[2]]);
    739739        }
  • orxonox/branches/md2_loader/src/story_entities/world.cc

    r4189 r4215  
    485485  terrain = new Terrain("worlds/newGround.obj");
    486486  terrain->setRelCoor(Vector(0,-10,0));
    487   this->spawn(terrain);
     487  //this->spawn(terrain);
    488488
    489489  WorldEntity* testEntity = new TestEntity();
Note: See TracChangeset for help on using the changeset viewer.