Ignore:
Timestamp:
04/15/09 17:34:46 (15 years ago)
Author:
mattausch
Message:
 
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" 
    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.