Changeset 3275 for GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter
- Timestamp:
- 01/14/09 11:24:56 (16 years ago)
- 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 101 101 idx[0] = (int)indices.size() - 1; 102 102 #endif 103 103 104 for (int j = 0; j < 3; ++ j) 104 105 faceVertices.push_back(vertices[indices[idx[j]]]); … … 108 109 { 109 110 for (int j = 0; j < 3; ++ j) 110 faceNormals.push_back( normals[nIndices[idx[j]]]);111 faceNormals.push_back(Normalize(normals[nIndices[idx[j]]])); 111 112 } 112 113 else … … 186 187 187 188 #else 189 188 190 geom->mVertices[i].x = faceVertices[i].x; 189 191 geom->mVertices[i].y = faceVertices[i].y; -
GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/main.cpp
r3268 r3275 31 31 #else 32 32 33 const int numFiles = 879;34 //const int numFiles = 300;33 //const int numFiles = 879; 34 const int numFiles = 3; 35 35 36 36 vector<string> filenames;
Note: See TracChangeset
for help on using the changeset viewer.