Changeset 2627 for GTP/trunk/Lib/Vis
- Timestamp:
- 01/22/08 23:48:16 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/PvsDefinitions.h
r2625 r2627 9 9 //$$ 19.1. 2008 test for speed 10 10 //#define USE_BIT_PVS 11 //#define USE_HASH_PVS 11 12 12 13 -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2625 r2627 91 91 GlRendererBuffer(sceneGraph, viewcells, tree) 92 92 { 93 mUseVbos = false;93 mUseVbos = true; 94 94 MakeCurrent(); 95 95 InitGL(); … … 145 145 146 146 ObjectPvs pvs; 147 148 if (1) 147 148 bool evaluateFilter; 149 Environment::GetSingleton()->GetBoolValue("Preprocessor.evaluateFilter", evaluateFilter); 150 151 if (!evaluateFilter) 149 152 pvs = viewcell->GetPvs(); 150 153 else 151 mViewCellsManager->ApplyFilter2(viewcell, false, 1.0f, pvs); 154 mViewCellsManager->ApplyFilter2(viewcell, 155 false, 156 mViewCellsManager->GetFilterWidth(), 157 pvs); 152 158 153 159 mUseForcedColors = true; -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2625 r2627 2614 2614 #endif 2615 2615 } 2616 2617 2616 mSamplesStat.mViewCells += (int)viewCells.size(); 2618 2617 … … 4664 4663 ViewCellContainer &viewcells) 4665 4664 { 4666 4665 return mKdTree->CastLineSegment(origin, termination, viewcells); 4667 4666 } 4668 4667 … … 6415 6414 ViewCellContainer &viewcells) 6416 6415 { 6417 return mHierarchyManager->CastLineSegment(origin, termination, viewcells); 6416 6417 return mHierarchyManager->CastLineSegment(origin, termination, viewcells); 6418 6418 } 6419 6419 -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParserXerces.h
r2588 r2627 9 9 #include "BoundingBoxConverter.h" 10 10 11 #ifdef _ _WINDOWS__11 #ifdef _WIN32 12 12 #include <hash_map> 13 13 #else … … 61 61 62 62 63 #ifdef _ _WINDOWS__63 #ifdef _WIN32 64 64 typedef stdext::hash_map<int, Intersectable *> pvs_hash; 65 65 #else -
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r2625 r2627 3463 3463 float mint = 0.0f, maxt = 1.0f; 3464 3464 3465 // ViewCell::NewMail();3466 3465 // ViewCell::NewMail(); 3466 3467 3467 Vector3 entp = origin; 3468 3468 Vector3 extp = termination; -
GTP/trunk/Lib/Vis/Preprocessing/src/preprocessor.pro
r2612 r2627 31 31 #XERCES = $$NONGTP/Xerces/xerces-c_2_8_0 32 32 33 INCLUDEPATH += ../src ../src/Timer ../src/QtInterface $$XERCES/include $$NONGTP/Zlib/include $$NONGTP/Boost $$NONGTP/Devil/include 33 INCLUDEPATH += ../src ../src/Timer ../src/QtInterface $$XERCES/include \ 34 $$NONGTP/Zlib/include $$NONGTP/Boost $$NONGTP/Devil/include sparsehash/src 34 35 35 36 win32:LIBPATH += GL $$XERCES/lib $$NONGTP/Devil/lib \ -
GTP/trunk/Lib/Vis/Preprocessing/src/run_test2
r2622 r2627 29 29 30 30 SCENE=../data/Arena/arena-high-lods.obj 31 VIEWCELLS=../data/Arena/viewcells-5000.xml.gz 31 #VIEWCELLS=../data/Arena/viewcells-5000.xml.gz 32 VIEWCELLS=../data/Arena/arena-high-lods-57000-viewcells.xml.gz 32 33 33 34 34 35 #SCENE=../data/vienna/vienna_cropped.obj 35 36 #VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz 36 37 37 38 38 #VIEWCELLS=../data/vienna/vienna-sequential-30000-single-viewcell.xml … … 49 49 #-rss_distributions=direction+spatial+mutation \ 50 50 51 # $COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 52 # -view_cells_use_kd_pvs+ -af_use_kd_pvs+ -view_cells_filter_width=1.0 \ 53 # -preprocessor_visibility_file=$PREFIX-reference.xml \ 54 # -view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \ 55 # -preprocessor_histogram_file=$PREFIX-r-reference.hlog 56 57 51 58 $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 52 -rss_distributions=direction +spatial+mutation\59 -rss_distributions=direction \ 53 60 -view_cells_use_kd_pvs+ -af_use_kd_pvs+ -view_cells_filter_width=1.0 \ 54 61 -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4a.xml \ … … 56 63 -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4a.hlog 57 64 65 #+spatial+mutation 66 58 67 #-rss_distributions=mutation+object_direction+spatial \ -
GTP/trunk/Lib/Vis/Preprocessing/src/run_test_pixel
r2059 r2627 48 48 49 49 50 #$COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \51 #-preprocessor_visibility_file=$PREFIX-r-reference.xml \52 #-view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \53 #-preprocessor_histogram_file=$PREFIX-r-reference.hlog50 $COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 51 -preprocessor_visibility_file=$PREFIX-r-reference.xml \ 52 -view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \ 53 -preprocessor_histogram_file=$PREFIX-r-reference.hlog 54 54 55 55 # $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
Note: See TracChangeset
for help on using the changeset viewer.