Changeset 3357 for GTP/trunk/App/Demos/Vis/FriendlyCulling
- Timestamp:
- 04/15/09 17:34:46 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter.vcproj
r3342 r3357 156 156 AdditionalLibraryDirectories="libs\Zlib\lib" 157 157 IgnoreDefaultLibraryNames="libCMT" 158 GenerateDebugInformation=" false"158 GenerateDebugInformation="true" 159 159 SubSystem="1" 160 160 LargeAddressAware="2" … … 214 214 </File> 215 215 <File 216 RelativePath=".\Converter\PlyConverter.cpp" 217 > 218 </File> 219 <File 220 RelativePath=".\Converter\rply.c" 221 > 222 </File> 223 <File 216 224 RelativePath=".\Converter\SimpleTri.cpp" 217 225 > … … 240 248 </File> 241 249 <File 250 RelativePath=".\Converter\PlyConverter.h" 251 > 252 </File> 253 <File 254 RelativePath=".\Converter\rply.h" 255 > 256 </File> 257 <File 242 258 RelativePath=".\Converter\SimpleTri.h" 243 259 > -
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.