Changeset 3290 for GTP


Ignore:
Timestamp:
01/22/09 18:45:22 (15 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis/FriendlyCulling
Files:
5 edited

Legend:

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

    r3274 r3290  
    155155                                IgnoreAllDefaultLibraries="false" 
    156156                                IgnoreDefaultLibraryNames="LIBCMT" 
    157                                 GenerateDebugInformation="false" 
     157                                GenerateDebugInformation="true" 
    158158                                SubSystem="1" 
    159159                                LargeAddressAware="2" 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/default.env

    r3289 r3290  
    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 
     
    7575 
    7676# initial camera position 
    77 #camPosition=483.398f 242.364f 186.078f 
     77camPosition=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 
     
    152152 
    153153# static geometry 
    154 filename=PowerPlantM 
    155 bvhname=PowerPlantM 
    156 keyForwardMotion=500.0f 
    157 mouseMotion=10.0f 
    158 visibilitySolution=power-plant-2c-xx-1000b-pgv2 
     154#filename=PowerPlantM 
     155#bvhname=PowerPlantM 
     156#keyForwardMotion=500.0f 
     157#mouseMotion=10.0f 
     158#visibilitySolution=power-plant-2c-xx-1000b-pgv2 
    159159#visibilitySolution=power-plant-2c-xx-1000d-pgv 
    160 visibilitySolution=power-plant-2c-xx-1000b-spgvu 
    161 camPosition=-1320.57 -6306.34 3603 
    162 camDirection=0.292156 0.9556 0.0383878 
    163 viewCellsScaleFactor=0.05f 
     160#visibilitySolution=power-plant-2c-xx-1000b-spgvu 
     161#camPosition=-1320.57 -6306.34 3603 
     162#camDirection=0.292156 0.9556 0.0383878 
     163#viewCellsScaleFactor=0.05f 
    164164 
    165 camPosition=763.554 -10254.5 2604 
    166 camDirection=-0.0975121 0.994494 0.0383878 
    167 useSkylightForIllum=1 
    168 skyDomeScaleFactor=1000.0f 
     165#camPosition=763.554 -10254.5 2604 
     166#camDirection=-0.0975121 0.994494 0.0383878 
     167#useSkylightForIllum=1 
     168#skyDomeScaleFactor=1000.0f 
    169169 
    170 camPosition=1145.31 413.602 186.678 
    171 camDirection=-0.917729 -0.397207 -0 
     170#camPosition=1145.31 413.602 186.678 
     171#camDirection=-0.917729 -0.397207 -0 
    172172#lightDirection=0.509293 0.784034 -0.35484 
    173 lightDirection=0.360937 0.0267167 -0.932207 
     173#lightDirection=0.360937 0.0267167 -0.932207 
    174174 
    175175#walkThroughSuffix=path_pp 
    176 walkThroughSuffix=walkthrough_pp_1 
     176#walkThroughSuffix=walkthrough_pp_1 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/VisibilitySolutionLoader.cpp

    r3289 r3290  
    156156 
    157157        BvhNodeContainer nodes; 
    158         //CreateIdSortedList2(bvh->GetStaticRoot(), nodes); 
    159         CreateIdSortedList(bvh, nodes); 
     158        CreateIdSortedList2(bvh->GetStaticRoot(), nodes); 
     159        //CreateIdSortedList(bvh, nodes); 
    160160 
    161161        const int tenpercent = number / 10; 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp

    r3289 r3290  
    616616        //LoadModel("sibenik.dem", dynamicObjects); 
    617617 
    618         if (1) LoadPompeiiFloor(); 
    619  
    620 #if 0 
     618        if (0) LoadPompeiiFloor(); 
     619 
     620#if 1 
    621621        const Vector3 sceneCenter(470.398f, 240.364f, 181.7f); 
    622622        //const Vector3 sceneCenter(470.398f, 240.364f, 180.3); 
     
    630630        for (int i = 0; i < 10; ++ i) 
    631631        { 
     632                cout << "here3" << endl; 
    632633                SceneEntity *ent = new SceneEntity(*buddha); 
    633634                resourceManager->AddSceneEntity(ent); 
     
    11191120void MainLoop()  
    11201121{        
    1121         if (buddha) 
     1122        if (0)//buddha) 
    11221123        { 
    11231124                Matrix4x4 oldTrafo = buddha->GetTransform()->GetMatrix(); 
     
    11411142#endif 
    11421143 
    1143                 /* 
    11441144                ///////////////////////// 
    11451145                //-- update animations 
     
    11521152 
    11531153                motionPath->Move(0.01f); 
    1154                 */ 
    11551154        } 
    11561155 
     
    23942393                        {                        
    23952394                                sprintf(msg[7], "%s:  %6.1f fps", alg_str[renderMode], fps);             
    2396                                 myfont.DrawString(msg[7], 1.3f, winWidth - 350, winHeight - 30.0f); 
     2395                                myfont.DrawString(msg[7], 1.3f, winWidth - 300, winHeight - 10.0f); 
    23972396 
    23982397                                //int mrays = (int)shotRays / 1000000; 
    23992398                                //sprintf(msg[7], "%s:  %04d M rays", alg_str[renderMode], mrays);       
    2400                                 //myfont.DrawString(msg[7], 1.3f, winWidth - 350, winHeight - 60.0f);            
     2399                                //myfont.DrawString(msg[7], 1.3f, winWidth - 300, winHeight - 60.0f);            
    24012400                        } 
    24022401                } 
     
    24042403                { 
    24052404                        sprintf(msg[7], "%s:  %6.1f ms", alg_str[renderMode], rTime); 
    2406                         myfont.DrawString(msg[7], 1.3f, winWidth - 350, winHeight - 30.0f); 
     2405                        myfont.DrawString(msg[7], 1.3f, winWidth - 300, winHeight - 10.0f); 
    24072406                } 
    24082407 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaderenv.h

    r3285 r3290  
    88//#define NUM_SAMPLES 8 
    99//#define NUM_SAMPLES 16 
    10 #define NUM_SAMPLES 24 
    11 //#define NUM_SAMPLES 48 
     10//#define NUM_SAMPLES 24 
     11#define NUM_SAMPLES 48 
    1212 
    1313#define MIN_SAMPLES 8 
     
    6363 
    6464 
    65 //#define USE_GTX 
     65#define USE_GTX 
    6666 
    6767#endif // __SHADERENV_H 
Note: See TracChangeset for help on using the changeset viewer.