- Timestamp:
- 02/02/07 11:31:53 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/scripts
- Files:
-
- 1 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/scripts/arena.env
r1919 r2075 13 13 # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d 14 14 # filename ../data/vienna/vienna-buildings_vienna-roofs_vienna-roads_vienna-plane_cropped.obj 15 filename ../data/vienna/vienna_cropped.obj15 # filename ../data/vienna/vienna_cropped.obj 16 16 # filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d 17 17 # filename ../data/vienna/viewcells-25-sel.x3d … … 22 22 # filename ../data/grandcanyon1_RotXmin90.obj 23 23 # filename ../data/CityModel.obj 24 filename ../data/ arena/arena-high-lods.obj24 filename ../data/Arena/arena-high-lods.obj 25 25 } 26 26 -
GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells
r1404 r2075 12 12 SCENE=generate_viewcells 13 13 14 LOG_PREFIX=../scripts/ vienna14 LOG_PREFIX=../scripts/soda 15 15 16 16 ENVIRONMENT=$SCENE.env … … 23 23 24 24 $PROGRAM $ENVIRONMENT \ 25 -view_cells_type=vsp BspTree \25 -view_cells_type=vspOspTree \ 26 26 -view_cells_construction_samples=0 \ 27 27 -vsp_bsp_construction_samples=500000 \ … … 31 31 -vsp_bsp_subdivision_stats=$LOG_PREFIX-$METHOD-subdivisionStats.log \ 32 32 -view_cells_post_process_merge=false \ 33 -view_cells_active= 1000 \34 -view_cells_filename=$LOG_PREFIX-vi sibility.xml.zip\33 -view_cells_active=5000 \ 34 -view_cells_filename=$LOG_PREFIX-viewcells.xml.gz \ 35 35 -view_cells_export_pvs=true \ 36 36 -view_cells_export_bounding_boxes=true \ -
GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocess_visibility.env
r1927 r2075 5 5 6 6 Scene { 7 8 7 filename ../data/vienna/vienna_cropped.obj 9 #filename ../data/soda/soda.dat 10 #filename ../data/soda/soda5.dat 11 } 8 } 9 12 10 13 11 Preprocessor { 12 totalSamples 100000000 13 # totalSamples 2000000 14 samplesPerPass 250000 15 samplesPerEvaluation 5000000 16 17 # initialSamples 2000000 18 19 exportObj false 14 20 delayVisibilityComputation false 15 21 # stored sample rays 16 22 samplesFilename rays.out 17 #useGlRenderer true18 23 useGlRenderer false 19 24 useGlDebugger false 20 21 # 0 = INTERNAL 1 = MLRT 25 # 0 = INTERNAL 1 = MLRT 22 26 rayCastMethod 0 23 27 24 # type sampling 25 # type vss 26 type rss 27 # type render 28 type combined 28 29 detectEmptyViewSpace true 29 30 pvsRenderErrorSamples 0 30 31 quitOnFinish true 31 32 computeVisibility true 33 34 evaluateFilter false 32 35 applyVisibilityFilter false 33 36 applyVisibilitySpatialFilter false 37 34 38 visibilityFilterWidth 0.01 35 39 exportVisibility true … … 38 42 loadKdTree false 39 43 exportKdTree false 44 45 histogram { 46 intervals 20 47 maxValue 600000 48 file histogram.log 49 } 50 Export { 51 rays false 52 numRays 5000 53 } 54 40 55 } 41 56 … … 44 59 } 45 60 46 RenderSampler { 47 samples 10000 48 } 49 50 51 SamplingPreprocessor { 52 totalSamples 100000000 53 samplesPerPass 1000000 54 } 61 55 62 56 63 RssPreprocessor { 57 samplesPerPass 1000 58 initialSamples 200000059 vssSamples 100000000 60 # vssSamples 100000061 vssSamplesPerPass 3000000 64 65 distributions mutation+spatial+object_direction 66 # distributions rss+object_direction 67 # distributions object_direction 68 62 69 useImportanceSampling true 63 64 directionalSampling false65 objectBasedSampling false66 70 67 71 Export { … … 74 78 loadInitialSamples false 75 79 storeInitialSamples false 76 } 77 78 RssTree { 79 epsilon 1e-6 80 perObjectTree false 81 82 maxDepth 60 83 minPvs 1 84 # before vienna test it was: 85 # minRays 50 86 # splitType heuristic 87 88 minRays 100 89 minSize 0.001 90 maxCostRatio 1.0 91 maxRayContribution 1.0 92 maxRays 3000000 93 maxTotalMemory 200 94 maxStaticMemory 100 95 96 # splitType regular 97 # splitType heuristic 98 splitType hybrid 99 hybridDepth 10 100 splitUseOnlyDrivingAxis false 101 #false 102 importanceBasedCost false 103 104 interleaveDirSplits true 105 dirSplitDepth 0 106 107 ct_div_ci 0.0 108 } 80 81 useRssTree true 82 } 83 84 109 85 110 86 Limits { … … 124 100 minCost 1 125 101 maxDepth 30 126 maxCostRatio 1.0102 maxCostRatio 0.98 127 103 ct_div_ci 0.5 128 maxNodes 500000 104 maxNodes 100000 105 #500000 129 106 } 130 107 … … 134 111 } 135 112 113 136 114 MeshKdTree { 137 115 Termination { 138 minCost 8116 minCost 150 139 117 maxDepth 18 140 118 maxCostRatio 0.9 … … 147 125 } 148 126 149 150 127 ViewCells { 128 importRandomViewCells false 129 130 useKdPvs true 131 useKdPvsAfterFiltering true 151 132 # samples used for view cell construction 152 133 Construction { … … 156 137 157 138 #number of active view cells 158 active 20000 159 maxViewCells 20000 139 active 200000 140 maxViewCells 200000 160 141 161 142 maxStaticMemory 40 … … 167 148 #type vspKdTree 168 149 #type bspTree 169 #type vspBspTree170 type vspOspTree150 type vspBspTree 151 #type vspOspTree 171 152 #type sceneDependent 172 153 … … 176 157 maxPvsRatio 1.0 177 158 178 processOnlyValidViewCells false159 processOnlyValidViewCells true 179 160 180 161 #stats viewCellStats.log … … 224 205 } 225 206 207 #filename ../data/Arena/viewcells-20000.xml 208 209 226 210 filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz 227 } 228 211 212 } 229 213 230 214 … … 235 219 moveSpeed 0.0001 236 220 } 221 -
GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocess_visibility.sh
r1926 r2075 15 15 NUM_SAMPLE_RAYS=5000000 16 16 17 $PREPROCESSOR - rss_vss_samples=$NUM_SAMPLE_RAYS \17 $PREPROCESSOR -total_samples=$NUM_SAMPLE_RAYS \ 18 18 -scene_filename=$1 -view_cells_filename=$2 -preprocessor_visibility_file=$3 preprocess_visibility.env -
GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocessor-debug.sh
r1747 r2075 1 #!/bin/ sh2 export PATH= $PATH:../bin1 #!/bin/bash 2 export PATH="../bin:$PATH" 3 3 ../bin/debug/preprocessor.exe $* -
GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocessor.sh
r1455 r2075 1 #! /bin/sh1 #!sh 2 2 export PATH=$PATH:../bin 3 3 ../bin/release/preprocessor.exe $* -
GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna_cropped.sh
r1922 r2075 1 <<<<<<< .mine 1 2 #!/bin/sh 2 3 … … 38 39 ####################################################### 39 40 41 NODES=50000 42 USE_HEUR=true 43 44 METHOD=sequential-$NODES-$USE_HEUR 45 echo "$SCENE $METHOD" 46 47 $PROGRAM $ENVIRONMENT \ 48 -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \ 49 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \ 50 -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \ 51 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \ 52 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \ 53 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \ 54 -hierarchy_construction_type=0 \ 55 -vsp_use_cost_heuristics=$USE_HEUR \ 56 -bvh_term_max_leaves=$NODES 57 58 sh movefiles.sh $LOG_PREFIX-$METHOD 59 60 61 ####################################################### 62 40 63 NODES=10000 41 64 USE_HEUR=true … … 79 102 80 103 sh movefiles.sh $LOG_PREFIX-$METHOD 104 ======= 105 #!/bin/sh 106 107 # add bin to path 108 export PATH=../bin:$PATH 109 110 #TARGET=debug 111 TARGET=release 112 113 PROGRAM=../bin/$TARGET/Preprocessor.exe 114 115 SCENE=vienna_cropped_gi 116 LOG_PREFIX=../scripts/tests/gi/$SCENE-35MB 117 ENVIRONMENT=$SCENE.env 118 119 echo "starting $TARGET mode for $SCENE scene" 120 121 ############################################################################ 122 123 METHOD=gradient-full 124 echo "$SCENE $METHOD" 125 126 $PROGRAM $ENVIRONMENT \ 127 -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \ 128 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \ 129 -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \ 130 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \ 131 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \ 132 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \ 133 -hierarchy_construction_type=2 \ 134 -hierarchy_construction_consider_memory=true \ 135 -hierarchy_construction_multilevel=false \ 136 -bvh_use_sah=false \ 137 -vsp_use_cost_heuristics=true \ 138 -hierarchy_construction_recompute_split_on_repair=true 139 140 sh movefiles.sh $LOG_PREFIX-$METHOD 141 142 ####################################################### 143 144 NODES=10000 145 USE_HEUR=true 146 147 METHOD=sequential-$NODES-$USE_HEUR 148 echo "$SCENE $METHOD" 149 150 $PROGRAM $ENVIRONMENT \ 151 -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \ 152 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \ 153 -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \ 154 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \ 155 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \ 156 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \ 157 -hierarchy_construction_type=0 \ 158 -vsp_use_cost_heuristics=$USE_HEUR \ 159 -bvh_term_max_leaves=$NODES 160 161 sh movefiles.sh $LOG_PREFIX-$METHOD 162 163 ####################################################### 164 165 METHOD=gradient-full-corr 166 echo "$SCENE $METHOD" 167 168 $PROGRAM $ENVIRONMENT \ 169 -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \ 170 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \ 171 -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \ 172 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \ 173 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \ 174 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \ 175 -hierarchy_construction_type=2 \ 176 -hierarchy_construction_consider_memory=true \ 177 -hierarchy_construction_multilevel=false \ 178 -bvh_use_sah=false \ 179 -vsp_use_cost_heuristics=true \ 180 -hierarchy_construction_min_avg_raycontri=0.01 \ 181 -hierarchy_construction_max_avg_raycontri=0.5 \ 182 -hierarchy_construction_recompute_split_on_repair=true 183 184 sh movefiles.sh $LOG_PREFIX-$METHOD 81 185 82 186 ####################################################### … … 102 206 103 207 104 ####################################################### 208 #######################################################>>>>>>> .r2034
Note: See TracChangeset
for help on using the changeset viewer.