- Timestamp:
- 04/15/09 17:34:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/main.cpp
r3342 r3357 1 #include "ObjConverter.h" 1 //#include "ObjConverter.h" 2 #include "PlyConverter.h" 2 3 #include <iostream> 3 4 #include <time.h> … … 11 12 12 13 //ObjConverter2 converter; 13 ObjConverter converter; 14 //ObjConverter converter; 15 PlyConverter converter; 14 16 15 17 cout << "converting obj to dem format" << endl; 16 18 #if 1 17 if (!converter.LoadMaterials(model_path + argv[3]))19 /*if (!converter.LoadMaterials(model_path + argv[3])) 18 20 { 19 21 cerr << "loading materials failed" << endl; … … 21 23 std::cin.get(); 22 24 exit(0); 23 } 25 }*/ 24 26 25 27 if (!converter.Convert(model_path + argv[1], model_path + argv[2])) … … 58 60 59 61 cout << "conversion successful" << endl; 60 //cout << "press any key" << std::cin.get();62 cout << "press any key" << std::cin.get(); 61 63 62 64 return 0;
Note: See TracChangeset
for help on using the changeset viewer.