Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5676 in orxonox.OLD


Ignore:
Timestamp:
Nov 21, 2005, 9:59:50 PM (18 years ago)
Author:
patrick
Message:

orxonox/trunk: model now makes better debug output

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/model.cc

    r5430 r5676  
    919919      else if( tmpFace->vertexCount > 4)
    920920      {
    921         PRINTF(1)("NASTY NASTY: More than 4 vertices for a face, there will be errors in the triangles information!\n");
     921        PRINTF(1)("This model (%s) got over 4 vertices per face <=> conflicts in the CD engine!\n", this->getName());
    922922      //exit(0);
    923923      }
     
    929929  PRINTF(3)("got %i triangles, %i vertices\n", this->triangleCount, this->vertexCount);
    930930
     931 
     932  /* write MODELINFO structure */
    931933
    932934  /* allocate memory for the new triangle structures */
     
    936938    return false;
    937939  }
    938 
    939940
    940941  /* now iterate through all groups and build up the triangle list */
  • trunk/src/world_entities/world_entity.cc

    r5671 r5676  
    119119  {
    120120    PRINTF(4)("creating obb tree\n");
     121   
    121122    this->obbTree = new OBBTree(depth, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());
    122123    return true;
Note: See TracChangeset for help on using the changeset viewer.