- Timestamp:
- 01/23/07 00:20:59 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp
r2011 r2020 1620 1620 1621 1621 1622 1622 1623 1623 1624 /****************************************************************************/ -
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
r2017 r2020 268 268 269 269 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 304 272 305 273 … … 388 356 389 357 390 ViewCellLeaf *VspLeaf::GetViewCell() const391 {392 return mViewCell;393 }394 358 395 359 … … 400 364 401 365 402 bool VspLeaf::IsLeaf() const403 {404 return true;405 }406 366 407 367 -
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r2017 r2020 175 175 176 176 InitTiming(); 177 177 #if 0 178 178 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 180 194 Environment::GetSingleton()->Parse(argc, argv, USE_EXE_PATH); 181 195 MeshKdTree::ParseEnvironment(); -
GTP/trunk/Lib/Vis/Preprocessing/src/preprocessor.pro
r2015 r2020 1 CONFIG += qt release1 CONFIG += release 2 2 CONFIG += console warn_off thread mlrt qt 3 3 … … 75 75 } 76 76 77 78 77 QMAKE_LFLAGS_CONSOLE=/NODEFAULTLIB:LIBCMT 79 78 -
GTP/trunk/Lib/Vis/Preprocessing/src/run_test_powerplant
r2007 r2020 2 2 3 3 #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+"4 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer+ -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+" 5 5 6 6 … … 14 14 $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 15 15 -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \ 16 -view_cells_use_kd_pvs- -af_use_kd_pvs- \ 16 17 -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4a.xml \ 17 18 -preprocessor_stats=$PREFIX-i-mixed-b1-n4a.log \
Note: See TracChangeset
for help on using the changeset viewer.