Changeset 3357 for GTP


Ignore:
Timestamp:
04/15/09 17:34:46 (15 years ago)
Author:
mattausch
Message:
 
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  
    156156                                AdditionalLibraryDirectories="libs\Zlib\lib" 
    157157                                IgnoreDefaultLibraryNames="libCMT" 
    158                                 GenerateDebugInformation="false" 
     158                                GenerateDebugInformation="true" 
    159159                                SubSystem="1" 
    160160                                LargeAddressAware="2" 
     
    214214                        </File> 
    215215                        <File 
     216                                RelativePath=".\Converter\PlyConverter.cpp" 
     217                                > 
     218                        </File> 
     219                        <File 
     220                                RelativePath=".\Converter\rply.c" 
     221                                > 
     222                        </File> 
     223                        <File 
    216224                                RelativePath=".\Converter\SimpleTri.cpp" 
    217225                                > 
     
    240248                        </File> 
    241249                        <File 
     250                                RelativePath=".\Converter\PlyConverter.h" 
     251                                > 
     252                        </File> 
     253                        <File 
     254                                RelativePath=".\Converter\rply.h" 
     255                                > 
     256                        </File> 
     257                        <File 
    242258                                RelativePath=".\Converter\SimpleTri.h" 
    243259                                > 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/main.cpp

    r3342 r3357  
    1 #include "ObjConverter.h" 
     1//#include "ObjConverter.h" 
     2#include "PlyConverter.h" 
    23#include <iostream> 
    34#include <time.h> 
     
    1112 
    1213        //ObjConverter2 converter; 
    13         ObjConverter converter; 
     14        //ObjConverter converter; 
     15        PlyConverter converter; 
    1416 
    1517        cout << "converting obj to dem format" << endl; 
    1618#if 1 
    17         if (!converter.LoadMaterials(model_path + argv[3])) 
     19        /*if (!converter.LoadMaterials(model_path + argv[3])) 
    1820        { 
    1921                cerr << "loading materials failed" << endl; 
     
    2123                std::cin.get(); 
    2224                exit(0); 
    23         } 
     25        }*/ 
    2426 
    2527        if (!converter.Convert(model_path + argv[1], model_path + argv[2])) 
     
    5860 
    5961        cout << "conversion successful" << endl; 
    60         //cout << "press any key" << std::cin.get(); 
     62        cout << "press any key" << std::cin.get(); 
    6163 
    6264        return 0; 
Note: See TracChangeset for help on using the changeset viewer.