Changeset 3161 for GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter
- Timestamp:
- 11/25/08 02:37:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/ObjConverter.cpp
r3146 r3161 172 172 for (int i = 0; i < numElements; ++ i) 173 173 { 174 #if 1174 #if 0 175 175 // convert to our camera system: change y and z 176 176 geom->mVertices[i].x = faceVertices[i].x; … … 279 279 default: 280 280 sscanf(str + 1, "%f %f %f", &x, &y, &z); 281 const float scale = 5e-3f; 281 //const float scale = 5e-3f; 282 const float scale = 1.0f; 282 283 vertices.push_back(SimpleVec(x * scale, y * scale, z* scale)); 283 284 //cout <<"v " << x << " " << y << " "<< z << " "; … … 390 391 391 392 ambient.x = ambient.y = ambient.z = 0.2f; 392 diffuse.x = diffuse.y = diffuse.z = 1.0f; 393 //diffuse.x = diffuse.y = diffuse.z = 1.0f; 394 diffuse.x = 0.7f; diffuse.y = 0.5f; diffuse.z = 0.2f; 393 395 spec.x = spec.y = spec.z = .0f; 394 396 emm = spec;
Note: See TracChangeset
for help on using the changeset viewer.