Ignore:
Timestamp:
01/14/09 11:24:56 (15 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/ObjConverter2.cpp

    r3268 r3275  
    101101                        idx[0] = (int)indices.size() - 1; 
    102102#endif 
     103 
    103104                        for (int j = 0; j < 3; ++ j) 
    104105                                faceVertices.push_back(vertices[indices[idx[j]]]); 
     
    108109                        { 
    109110                                for (int j = 0; j < 3; ++ j) 
    110                                         faceNormals.push_back(normals[nIndices[idx[j]]]); 
     111                                        faceNormals.push_back(Normalize(normals[nIndices[idx[j]]])); 
    111112                        } 
    112113                        else 
     
    186187 
    187188#else 
     189 
    188190                geom->mVertices[i].x = faceVertices[i].x; 
    189191                geom->mVertices[i].y = faceVertices[i].y; 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/main.cpp

    r3268 r3275  
    3131#else 
    3232         
    33         const int numFiles = 879; 
    34         //const int numFiles = 300; 
     33        //const int numFiles = 879; 
     34        const int numFiles = 3; 
    3535 
    3636        vector<string> filenames; 
Note: See TracChangeset for help on using the changeset viewer.