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

Legend:

Unmodified
Added
Removed
  • 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.