Changeset 3334 for GTP


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

Location:
GTP/trunk/App/Demos/Vis/FriendlyCulling
Files:
3 edited

Legend:

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

    r3292 r3334  
    156156                                AdditionalLibraryDirectories="libs\Zlib\lib" 
    157157                                IgnoreDefaultLibraryNames="libCMT" 
    158                                 GenerateDebugInformation="false" 
     158                                GenerateDebugInformation="true" 
    159159                                SubSystem="1" 
    160160                                LargeAddressAware="2" 
  • 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; 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/default.env

    r3331 r3334  
    1313#filename=mypompeii 
    1414#bvhname=mypompeii 
    15 filename=pompeii/pompeii_full 
     15#filename=pompeii/pompeii_full 
    1616#filename=pompeii/pompeii_part 
    17 #filename=city 
    18 #bvhname=city 
     17filename=city 
     18bvhname=city 
    1919useLODs=1 
    2020# shadow map size 
     
    7777camPosition=483.398f 242.364f 186.078f 
    7878# pompeii view point 
    79 camPosition=1300.0f -2500.0f 10.0f 
     79#camPosition=1300.0f -2500.0f 10.0f 
    8080# pompeii problematic 
    8181#camPosition=627.003 -1725.33 25.2 
Note: See TracChangeset for help on using the changeset viewer.