Changeset 4215 in orxonox.OLD for orxonox/branches/md2_loader
- Timestamp:
- May 18, 2005, 2:29:34 AM (20 years ago)
- 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 511 511 512 512 this->textureID = 0; 513 this->scaleFactor = 0.1f;513 this->scaleFactor = 1.0f; 514 514 515 515 this->setAnim(STAND); … … 728 728 } 729 729 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 */ 731 731 { 732 732 /* for quake2 lighting */ … … 734 734 //glColor3f(l * lcolor[0], l * lcolor[1], l * lcolor[2]); 735 735 736 glNormal3fv(anorms[this->pLightNormals[pCommands[2]]]); 736 737 glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] ); 737 glNormal3fv(anorms[this->pLightNormals[2]]);738 738 glVertex3fv(verticesList[pCommands[2]]); 739 739 } -
orxonox/branches/md2_loader/src/story_entities/world.cc
r4189 r4215 485 485 terrain = new Terrain("worlds/newGround.obj"); 486 486 terrain->setRelCoor(Vector(0,-10,0)); 487 this->spawn(terrain);487 //this->spawn(terrain); 488 488 489 489 WorldEntity* testEntity = new TestEntity();
Note: See TracChangeset
for help on using the changeset viewer.