- Timestamp:
- 01/23/07 16:11:34 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Makefile
r2022 r2042 1 1 ############################################################################# 2 2 # Makefile for building: preprocessor 3 # Generated by qmake (2.00a) (Qt 4.1.2) on: út 23. I 01:10:2420073 # Generated by qmake (2.00a) (Qt 4.1.2) on: út 23. I 16:04:45 2007 4 4 # Project: preprocessor.pro 5 5 # Template: app -
GTP/trunk/Lib/Vis/Preprocessing/src/ObjParser.cpp
r1979 r2042 85 85 while (pch != NULL) 86 86 { 87 87 const int index = (int)strtol(pch, NULL, 10) - 1; 88 88 89 // store vertex in hash table 90 //hashTable[index] = vertices[index]; 89 // store vertex in hash table 90 //hashTable[index] = vertices[index]; 91 if (index>=0) 91 92 indices.push_back(index); 92 93 93 94 95 96 97 98 99 94 //if (line == 451703) 95 // cout << index + 1 << " "; 96 97 pch = strtok(NULL, " "); 98 99 // problem: don't know how intel ray tracer tesselates 100 if ((int)indices.size() > 2) 100 101 { 101 102 const int index_2 = (int)indices.size() - 2; … … 105 106 vertices[indices[index_2]], 106 107 vertices[indices[index_3]])); 108 indices.clear(); 107 109 } 108 110 } … … 253 255 case 'f': 254 256 { 255 // cout << "f";256 257 if (loadMeshes) 257 258 { -
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r2023 r2042 662 662 if (strcmp(curr, "mutation")==0) { 663 663 // temp matt: still no mutationstrategy! 664 //mDistributions.push_back(new MutationBasedDistribution(mPreprocessor));664 mDistributions.push_back(new MutationBasedDistribution(mPreprocessor)); 665 665 } 666 666 -
GTP/trunk/Lib/Vis/Preprocessing/src/preprocessor.pro
r2020 r2042 1 CONFIG += release 1 CONFIG += release 2 2 CONFIG += console warn_off thread mlrt qt 3 3 -
GTP/trunk/Lib/Vis/Preprocessing/src/run_test_arena
r2035 r2042 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 --total_samples=500000000"4 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+ -total_samples=500000000" 5 5 6 6 7 7 SCENE=../data/Arena/arena-high-lods.obj 8 VIEWCELLS=../data/Arena/viewcells-5000.xml 8 VIEWCELLS=../data/Arena/viewcells-5000.xml.gz 9 9 10 10 PREFIX=../work/plots/osp-arena1-1e5 11 11 12 #$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \13 #-rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \14 # -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4n.xml \15 # -preprocessor_stats=$PREFIX-i-mixed-b1-n4n.log \16 # -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4n.hlog12 $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 13 -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \ 14 -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4a.xml \ 15 -preprocessor_stats=$PREFIX-i-mixed-b1-n4a.log \ 16 -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4a.hlog 17 17 18 18 # # n - no origin mutation, q=2, reverse samples 19 20 # $COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 21 # -preprocessor_visibility_file=$PREFIX-r-reference.xml \ 22 # -view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \ 23 # -preprocessor_histogram_file=$PREFIX-r-reference.hlog 24 25 # $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 26 # -rss_distributions=direction -view_cells_filter_max_size=1 \ 27 # -preprocessor_visibility_file=$PREFIX-r-reference-global.xml \ 28 # -preprocessor_stats=$PREFIX-r-reference-global.log \ 29 # -preprocessor_histogram_file=$PREFIX-r-reference-global.hlog 30 31 #mutation+object_direction+ 32 33 # BVH 34 19 35 20 36 # $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ … … 25 41 # -preprocessor_histogram_file=$PREFIX-i-mixed-bvh-n4n.hlog 26 42 27 $COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \28 -preprocessor_visibility_file=$PREFIX-r-reference.xml \29 -view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \30 -preprocessor_histogram_file=$PREFIX-r-reference.hlog31 32 $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \33 -rss_distributions=direction -view_cells_filter_max_size=1 \34 -preprocessor_visibility_file=$PREFIX-r-reference-global.xml \35 -preprocessor_stats=$PREFIX-r-reference-global.log \36 -preprocessor_histogram_file=$PREFIX-r-reference-global.hlog37 38 #mutation+object_direction+
Note: See TracChangeset
for help on using the changeset viewer.