Changeset 674


Ignore:
Timestamp:
03/03/06 20:30:49 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/scripts/egsr_test_script

    r673 r674  
    3131-vsp_bsp_subdivision_stats=$LOG_PREFIX-$METHOD-subdivisionStats.log \ 
    3232-view_cells_post_process_merge=true \ 
     33-vsp_bsp_term_min_pvs=0 \ 
    3334-view_cells_filename=$LOG_PREFIX-$METHOD-viewCells.x3d 
    3435 
     
    5657-vsp_bsp_subdivision_stats=$LOG_PREFIX-$METHOD-subdivisionStats.log \ 
    5758-view_cells_post_process_merge=false \ 
     59-vsp_bsp_term_min_pvs=0 \ 
    5860-view_cells_filename=$LOG_PREFIX-$METHOD-viewCells.x3d 
    5961 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp

    r673 r674  
    11771177                                 "true"); 
    11781178 
     1179   RegisterOption("VssPreprocessor.enlargeViewSpace", 
     1180                                 optBool, 
     1181                                 "vss_enlarge_viewspace=", 
     1182                                 "true"); 
     1183 
    11791184   RegisterOption("VssPreprocessor.loadInitialSamples", 
    11801185          optBool, 
    1181           "-vss_load_loadInitialSamples=", 
     1186          "vss_load_loadInitialSamples=", 
    11821187          "false"); 
    11831188 
    11841189   RegisterOption("VssPreprocessor.storeInitialSamples", 
    11851190          optBool, 
    1186           "-vss_store_storedInitialSamples=", 
     1191          "vss_store_storedInitialSamples=", 
    11871192          "false"); 
    11881193    
     
    11901195    RegisterOption("VssPreprocessor.useViewSpaceBox", 
    11911196          optBool, 
    1192           "-vss_use_viewspace_box=", 
     1197          "vss_use_viewspace_box=", 
    11931198          "false"); 
    11941199    
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp

    r654 r674  
    3232  environment->GetBoolValue("VssPreprocessor.useViewSpaceBox", mUseViewSpaceBox); 
    3333  environment->GetBoolValue("VssPreprocessor.testBeamSampling", mTestBeamSampling); 
     34  environment->GetBoolValue("VssPreprocessor.enlargeViewSpace", mEnlargeViewSpace); 
    3435 
    3536  useViewspacePlane = mUseViewSpaceBox; //hack 
     
    4041VssPreprocessor::~VssPreprocessor() 
    4142{ 
    42   CLEAR_CONTAINER(mVssRays); 
    43   DEL_PTR(mViewSpaceBox); 
     43        CLEAR_CONTAINER(mVssRays); 
     44        DEL_PTR(mViewSpaceBox); 
    4445} 
    4546 
     
    531532  if (mUseViewSpaceBox) 
    532533  { 
    533           if (0) 
     534          if (!mEnlargeViewSpace) 
    534535          { 
    535536                  mViewSpaceBox = box; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.h

    r574 r674  
    2121  int mVssSamples; 
    2222  bool mUseImportanceSampling; 
    23  
     23  bool mEnlargeViewSpace; 
    2424  AxisAlignedBox3 *mViewSpaceBox; 
    2525 
Note: See TracChangeset for help on using the changeset viewer.