Changeset 3334 for GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter
- Timestamp:
- 03/06/09 17:39:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/main.cpp
r3295 r3334 14 14 15 15 cout << "converting obj to dem format" << endl; 16 #if 1 17 if (!converter.LoadMaterials(model_path + argv[3]))16 #if 1 // use this path for converting a file with materials 17 if (argc > 3) 18 18 { 19 cerr << "loading materials failed" << endl; 19 if (!converter.LoadMaterials(model_path + argv[3])) 20 { 21 cerr << "loading materials failed" << endl; 20 22 21 std::cin.get(); 22 exit(0); 23 std::cin.get(); 24 exit(0); 25 } 23 26 } 24 27 … … 30 33 exit(0); 31 34 } 32 #else 35 #else // use this bath to convert the pompeii model 33 36 34 37 //const int numFiles = 879;
Note: See TracChangeset
for help on using the changeset viewer.