Ignore:
Timestamp:
01/05/09 16:48:21 (15 years ago)
Author:
mattausch
Message:

worked on obj loader
played around with ssao sampling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/main.cpp

    r3146 r3247  
    1414 
    1515        cout << "converting obj to dem format" << endl; 
     16         
     17        if (!converter.LoadMaterials(model_path + argv[3])) 
     18        { 
     19                cerr << "loading materials failed" << endl; 
     20 
     21                std::cin.get(); 
     22                exit(0); 
     23        } 
    1624 
    1725        if (!converter.Convert(model_path + argv[1], model_path + argv[2])) 
     
    2230                exit(0); 
    2331        } 
    24         //std::cin.get(); 
     32 
    2533        cout << "conversion successful" << endl; 
     34        cout << "press any key" << std::cin.get(); 
    2635 
    2736        return 0; 
Note: See TracChangeset for help on using the changeset viewer.