Ignore:
Timestamp:
03/06/09 17:39:01 (15 years ago)
Author:
mattausch
Message:

performance testing (only depth texture faster??) loading torus, two objects that interleave

File:
1 edited

Legend:

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

    r3295 r3334  
    1414 
    1515        cout << "converting obj to dem format" << endl; 
    16 #if 1 
    17         if (!converter.LoadMaterials(model_path + argv[3])) 
     16#if 1 // use this path for converting a file with materials 
     17        if  (argc > 3) 
    1818        { 
    19                 cerr << "loading materials failed" << endl; 
     19                if (!converter.LoadMaterials(model_path + argv[3])) 
     20                { 
     21                        cerr << "loading materials failed" << endl; 
    2022 
    21                 std::cin.get(); 
    22                 exit(0); 
     23                        std::cin.get(); 
     24                        exit(0); 
     25                } 
    2326        } 
    2427 
     
    3033                exit(0); 
    3134        } 
    32 #else 
     35#else // use this bath to convert the pompeii model 
    3336         
    3437        //const int numFiles = 879; 
Note: See TracChangeset for help on using the changeset viewer.