Changeset 2020 for GTP/trunk/Lib


Ignore:
Timestamp:
01/23/07 00:20:59 (18 years ago)
Author:
bittner
Message:

power plant updates

Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp

    r2011 r2020  
    16201620 
    16211621 
     1622         
    16221623 
    16231624        /****************************************************************************/ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp

    r2017 r2020  
    268268 
    269269 
    270 bool VspInterior::IsLeaf() const 
    271 {  
    272         return false;  
    273 } 
    274  
    275  
    276 VspNode *VspInterior::GetBack()  
    277 { 
    278         return mBack; 
    279 } 
    280  
    281  
    282 VspNode *VspInterior::GetFront()  
    283 { 
    284         return mFront; 
    285 } 
    286  
    287  
    288 AxisAlignedPlane VspInterior::GetPlane() const 
    289 { 
    290         return mPlane; 
    291 } 
    292  
    293  
    294 float VspInterior::GetPosition() const 
    295 { 
    296         return mPlane.mPosition; 
    297 } 
    298  
    299  
    300 int VspInterior::GetAxis() const 
    301 { 
    302         return mPlane.mAxis; 
    303 } 
     270 
     271 
    304272 
    305273 
     
    388356 
    389357 
    390 ViewCellLeaf *VspLeaf::GetViewCell() const 
    391 { 
    392         return mViewCell; 
    393 } 
    394358 
    395359 
     
    400364 
    401365 
    402 bool VspLeaf::IsLeaf() const  
    403 {  
    404         return true;  
    405 } 
    406366 
    407367 
  • GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp

    r2017 r2020  
    175175 
    176176        InitTiming(); 
    177  
     177#if 0 
    178178        Debug.open("debug.log"); 
    179    
     179 
     180        cout<<"Allocating 1.5GB..."<<endl; 
     181 
     182         
     183        for (int i=0; i < 1000; i++) { 
     184          void *p = malloc(1250000000); 
     185          if (p != NULL) { 
     186                cout<<"success"<<(i+1)*1000<<"MB"<<endl; 
     187          } 
     188          else { 
     189                cout<<"fail"<<endl; 
     190                exit(1); 
     191          } 
     192        } 
     193#endif 
    180194        Environment::GetSingleton()->Parse(argc, argv, USE_EXE_PATH); 
    181195        MeshKdTree::ParseEnvironment(); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/preprocessor.pro

    r2015 r2020  
    1 CONFIG += qt release 
     1CONFIG += release  
    22CONFIG += console warn_off thread mlrt qt 
    33 
     
    7575} 
    7676 
    77  
    7877QMAKE_LFLAGS_CONSOLE=/NODEFAULTLIB:LIBCMT 
    7978 
  • GTP/trunk/Lib/Vis/Preprocessing/src/run_test_powerplant

    r2007 r2020  
    22 
    33#COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" 
    4 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+" 
     4COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer+ -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+" 
    55 
    66 
     
    1414$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 
    1515 -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \ 
     16 -view_cells_use_kd_pvs- -af_use_kd_pvs- \ 
    1617 -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4a.xml \ 
    1718 -preprocessor_stats=$PREFIX-i-mixed-b1-n4a.log \ 
Note: See TracChangeset for help on using the changeset viewer.