[2007] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | #COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" |
---|
[2105] | 4 | #COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace- -total_samples=500000000" |
---|
[2007] | 5 | |
---|
[2606] | 6 | COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+ -samples_per_evaluation=5000000 -samples_per_pass=1000000 -total_samples=250000000 -view_cells_use_kd_pvs+ -kd_pvs_area=1e-5" |
---|
[2007] | 7 | |
---|
[2105] | 8 | |
---|
[2007] | 9 | SCENE=../data/Pompeii/PompeiiTen.obj |
---|
| 10 | VIEWCELLS=../data/Pompeii/pompeii_big-seq-viewcells.xml.gz |
---|
| 11 | |
---|
[2105] | 12 | PREFIX=../work/plots/osp-pompeii3 |
---|
[2007] | 13 | |
---|
| 14 | |
---|
[2105] | 15 | ###################### |
---|
| 16 | ###################### |
---|
[2049] | 17 | |
---|
[2105] | 18 | $COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 19 | -preprocessor_visibility_file=$PREFIX-reference.xml \ |
---|
| 20 | -view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \ |
---|
| 21 | -preprocessor_histogram_file=$PREFIX-r-reference.hlog |
---|
[2007] | 22 | |
---|
[2105] | 23 | $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 24 | -rss_distributions=direction -view_cells_filter_max_size=1 \ |
---|
| 25 | -preprocessor_visibility_file=$PREFIX-r-reference-global.xml \ |
---|
| 26 | -preprocessor_stats=$PREFIX-reference-global.log \ |
---|
| 27 | -preprocessor_histogram_file=$PREFIX-r-reference-global.hlog |
---|
[2043] | 28 | |
---|
[2105] | 29 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 30 | -mutation_buffer_size=100000 \ |
---|
| 31 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 32 | -preprocessor_stats=$PREFIX-combined-m1-1.log |
---|
[2043] | 33 | |
---|
[2105] | 34 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 35 | -mutation_buffer_size=200000 \ |
---|
| 36 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 37 | -preprocessor_stats=$PREFIX-combined-m1-2.log |
---|
[2043] | 38 | |
---|
[2105] | 39 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 40 | -mutation_buffer_size=500000 \ |
---|
| 41 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 42 | -preprocessor_stats=$PREFIX-combined-m1-3.log |
---|
[2043] | 43 | |
---|
[2105] | 44 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 45 | -mutation_buffer_size=1000000 \ |
---|
| 46 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 47 | -preprocessor_stats=$PREFIX-combined-m1-4.log |
---|
[2007] | 48 | |
---|
[2105] | 49 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 50 | -mutation_buffer_size=2000000 \ |
---|
| 51 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 52 | -preprocessor_stats=$PREFIX-combined-m1-5.log |
---|
[2043] | 53 | |
---|
[2105] | 54 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 55 | -mutation_buffer_size=4000000 \ |
---|
| 56 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 57 | -preprocessor_stats=$PREFIX-combined-m1-6.log |
---|
[2007] | 58 | |
---|
| 59 | |
---|
[2105] | 60 | # ############################ |
---|
| 61 | # #### AND now the same with pass importance off |
---|
[2043] | 62 | |
---|
[2105] | 63 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 64 | -mutation_use_pass_importance- \ |
---|
| 65 | -mutation_buffer_size=100000 \ |
---|
| 66 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 67 | -preprocessor_stats=$PREFIX-combined-m2-1.log |
---|
| 68 | |
---|
| 69 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 70 | -mutation_use_pass_importance- \ |
---|
| 71 | -mutation_buffer_size=200000 \ |
---|
| 72 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 73 | -preprocessor_stats=$PREFIX-combined-m2-2.log |
---|
| 74 | |
---|
| 75 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 76 | -mutation_use_pass_importance- \ |
---|
| 77 | -mutation_buffer_size=500000 \ |
---|
| 78 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 79 | -preprocessor_stats=$PREFIX-combined-m2-3.log |
---|
| 80 | |
---|
| 81 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 82 | -mutation_use_pass_importance- \ |
---|
| 83 | -mutation_buffer_size=1000000 \ |
---|
| 84 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 85 | -preprocessor_stats=$PREFIX-combined-m2-4.log |
---|
| 86 | |
---|
| 87 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 88 | -mutation_use_pass_importance- \ |
---|
| 89 | -mutation_buffer_size=2000000 \ |
---|
| 90 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 91 | -preprocessor_stats=$PREFIX-combined-m2-5.log |
---|
| 92 | |
---|
| 93 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 94 | -mutation_use_pass_importance- \ |
---|
| 95 | -mutation_buffer_size=4000000 \ |
---|
| 96 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 97 | -preprocessor_stats=$PREFIX-combined-m2-6.log |
---|
| 98 | |
---|
| 99 | # ################################################ |
---|
| 100 | # # silhouetee probability test |
---|
| 101 | # ################################################ |
---|
| 102 | |
---|
| 103 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 104 | -mutation_silhouette_prob=0.0 \ |
---|
| 105 | -mutation_use_pass_importance- \ |
---|
| 106 | -mutation_buffer_size=500000 \ |
---|
| 107 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 108 | -preprocessor_stats=$PREFIX-combined-m3-1.log |
---|
| 109 | |
---|
| 110 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 111 | -mutation_silhouette_prob=0.2 \ |
---|
| 112 | -mutation_use_pass_importance- \ |
---|
| 113 | -mutation_buffer_size=500000 \ |
---|
| 114 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 115 | -preprocessor_stats=$PREFIX-combined-m3-2.log |
---|
| 116 | |
---|
| 117 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 118 | -mutation_silhouette_prob=0.5 \ |
---|
| 119 | -mutation_use_pass_importance- \ |
---|
| 120 | -mutation_buffer_size=500000 \ |
---|
| 121 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 122 | -preprocessor_stats=$PREFIX-combined-m3-3.log |
---|
| 123 | |
---|
| 124 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 125 | -mutation_silhouette_prob=0.8 \ |
---|
| 126 | -mutation_use_pass_importance- \ |
---|
| 127 | -mutation_buffer_size=500000 \ |
---|
| 128 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 129 | -preprocessor_stats=$PREFIX-combined-m3-4.log |
---|
| 130 | |
---|
| 131 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 132 | -mutation_silhouette_prob=1.0 \ |
---|
| 133 | -mutation_use_pass_importance- \ |
---|
| 134 | -mutation_buffer_size=500000 \ |
---|
| 135 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 136 | -preprocessor_stats=$PREFIX-combined-m3-5.log |
---|
| 137 | |
---|
| 138 | |
---|
| 139 | ################################################ |
---|
| 140 | # reverse test |
---|
| 141 | ################################################ |
---|
| 142 | |
---|
| 143 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 144 | -mutation_reverse_samples_distance=1.0 \ |
---|
| 145 | -mutation_use_pass_importance- \ |
---|
| 146 | -mutation_buffer_size=500000 \ |
---|
| 147 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 148 | -preprocessor_stats=$PREFIX-combined-m4-1.log |
---|
| 149 | |
---|
| 150 | |
---|
| 151 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 152 | -mutation_reverse_samples_distance=100000.0 \ |
---|
| 153 | -mutation_use_pass_importance- \ |
---|
| 154 | -mutation_buffer_size=500000 \ |
---|
| 155 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 156 | -preprocessor_stats=$PREFIX-combined-m4-2.log |
---|
| 157 | |
---|
| 158 | |
---|
| 159 | ### unsucc count test |
---|
| 160 | |
---|
| 161 | |
---|
| 162 | |
---|
| 163 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 164 | -mutation_use_unsucc_count_importance+ \ |
---|
| 165 | -mutation_use_pass_importance- \ |
---|
| 166 | -mutation_buffer_size=2000000 \ |
---|
| 167 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 168 | -preprocessor_stats=$PREFIX-combined-m5-1.log |
---|
| 169 | |
---|
| 170 | |
---|
| 171 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 172 | -mutation_use_unsucc_count_importance+ \ |
---|
| 173 | -mutation_use_pass_importance- \ |
---|
| 174 | -mutation_buffer_size=500000 \ |
---|
| 175 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 176 | -preprocessor_stats=$PREFIX-combined-m5-2.log |
---|
| 177 | |
---|
| 178 | |
---|
| 179 | ########################################### |
---|
| 180 | # search steps test |
---|
| 181 | ########################################### |
---|
| 182 | |
---|
| 183 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 184 | -mutation_silhouette_search_steps=1 \ |
---|
| 185 | -mutation_buffer_size=500000 \ |
---|
| 186 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 187 | -preprocessor_stats=$PREFIX-combined-m6-1.log |
---|
| 188 | |
---|
| 189 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 190 | -mutation_silhouette_search_steps=2 \ |
---|
| 191 | -mutation_buffer_size=500000 \ |
---|
| 192 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 193 | -preprocessor_stats=$PREFIX-combined-m6-2.log |
---|
| 194 | |
---|
| 195 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 196 | -mutation_silhouette_search_steps=4 \ |
---|
| 197 | -mutation_buffer_size=500000 \ |
---|
| 198 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 199 | -preprocessor_stats=$PREFIX-combined-m6-3.log |
---|
| 200 | |
---|
| 201 | |
---|
| 202 | ########################################### |
---|
| 203 | # radius test |
---|
| 204 | ########################################### |
---|
| 205 | |
---|
| 206 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 207 | -mutation_radius_origin=0.2 \ |
---|
| 208 | -mutation_radius_termination=0.2 \ |
---|
| 209 | -mutation_silhouette_prob=0.5 \ |
---|
| 210 | -mutation_use_pass_importance- \ |
---|
| 211 | -mutation_buffer_size=500000 \ |
---|
| 212 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 213 | -preprocessor_stats=$PREFIX-combined-m7-1.log |
---|
| 214 | |
---|
| 215 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 216 | -mutation_radius_origin=1.0 \ |
---|
| 217 | -mutation_radius_termination=1.0 \ |
---|
| 218 | -mutation_silhouette_prob=0.5 \ |
---|
| 219 | -mutation_use_pass_importance- \ |
---|
| 220 | -mutation_buffer_size=500000 \ |
---|
| 221 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 222 | -preprocessor_stats=$PREFIX-combined-m7-2.log |
---|
| 223 | |
---|
| 224 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 225 | -mutation_radius_origin=0.5 \ |
---|
| 226 | -mutation_radius_termination=0.2 \ |
---|
| 227 | -mutation_silhouette_prob=0.5 \ |
---|
| 228 | -mutation_use_pass_importance- \ |
---|
| 229 | -mutation_buffer_size=500000 \ |
---|
| 230 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 231 | -preprocessor_stats=$PREFIX-combined-m7-3.log |
---|
| 232 | |
---|
| 233 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 234 | -mutation_radius_origin=0.5 \ |
---|
| 235 | -mutation_radius_termination=1.0 \ |
---|
| 236 | -mutation_silhouette_prob=0.5 \ |
---|
| 237 | -mutation_use_pass_importance- \ |
---|
| 238 | -mutation_buffer_size=500000 \ |
---|
| 239 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 240 | -preprocessor_stats=$PREFIX-combined-m7-4.log |
---|
| 241 | |
---|
| 242 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 243 | -mutation_radius_origin=0.2 \ |
---|
| 244 | -mutation_radius_termination=0.5 \ |
---|
| 245 | -mutation_silhouette_prob=0.5 \ |
---|
| 246 | -mutation_use_pass_importance- \ |
---|
| 247 | -mutation_buffer_size=500000 \ |
---|
| 248 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 249 | -preprocessor_stats=$PREFIX-combined-m7-5.log |
---|
| 250 | |
---|
| 251 | |
---|
| 252 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 253 | -mutation_radius_origin=1.0 \ |
---|
| 254 | -mutation_radius_termination=0.5 \ |
---|
| 255 | -mutation_silhouette_prob=0.5 \ |
---|
| 256 | -mutation_use_pass_importance- \ |
---|
| 257 | -mutation_buffer_size=500000 \ |
---|
| 258 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 259 | -preprocessor_stats=$PREFIX-combined-m7-6.log |
---|
| 260 | |
---|
| 261 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 262 | -mutation_radius_origin=2.0 \ |
---|
| 263 | -mutation_radius_termination=0.5 \ |
---|
| 264 | -mutation_silhouette_prob=0.5 \ |
---|
| 265 | -mutation_use_pass_importance- \ |
---|
| 266 | -mutation_buffer_size=500000 \ |
---|
| 267 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 268 | -preprocessor_stats=$PREFIX-combined-m7-7.log |
---|
| 269 | |
---|
| 270 | |
---|
| 271 | ### selected tests |
---|
| 272 | |
---|
| 273 | |
---|
| 274 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 275 | -mutation_silhouette_prob=0.5 \ |
---|
| 276 | -mutation_reverse_samples_distance=1.0 \ |
---|
| 277 | -mutation_radius_origin=0.5 \ |
---|
| 278 | -mutation_radius_termination=0.2 \ |
---|
| 279 | -mutation_use_unsucc_count_importance+ \ |
---|
| 280 | -mutation_use_pass_importance- \ |
---|
| 281 | -mutation_buffer_size=2000000 \ |
---|
| 282 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 283 | -preprocessor_stats=$PREFIX-combined-m8-1.log |
---|
| 284 | |
---|
| 285 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 286 | -mutation_silhouette_prob=0.5 \ |
---|
| 287 | -mutation_reverse_samples_distance=1.0 \ |
---|
| 288 | -mutation_radius_origin=1.0 \ |
---|
| 289 | -mutation_radius_termination=0.2 \ |
---|
| 290 | -mutation_use_unsucc_count_importance+ \ |
---|
| 291 | -mutation_use_pass_importance- \ |
---|
| 292 | -mutation_buffer_size=2000000 \ |
---|
| 293 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 294 | -preprocessor_stats=$PREFIX-combined-m8-2.log |
---|
| 295 | |
---|
| 296 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 297 | -mutation_silhouette_prob=0.5 \ |
---|
| 298 | -mutation_reverse_samples_distance=1.0 \ |
---|
| 299 | -mutation_radius_origin=2.0 \ |
---|
| 300 | -mutation_radius_termination=0.2 \ |
---|
| 301 | -mutation_use_unsucc_count_importance+ \ |
---|
| 302 | -mutation_use_pass_importance- \ |
---|
| 303 | -mutation_buffer_size=2000000 \ |
---|
| 304 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 305 | -preprocessor_stats=$PREFIX-combined-m8-3.log |
---|
| 306 | |
---|
| 307 | $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ |
---|
| 308 | -mutation_silhouette_prob=0.5 \ |
---|
| 309 | -mutation_reverse_samples_distance=1.0 \ |
---|
| 310 | -mutation_radius_origin=0.5 \ |
---|
| 311 | -mutation_radius_termination=0.2 \ |
---|
| 312 | -mutation_use_unsucc_count_importance- \ |
---|
| 313 | -mutation_use_pass_importance+ \ |
---|
| 314 | -mutation_buffer_size=2000000 \ |
---|
| 315 | -rss_distributions=mutation+object_direction+spatial \ |
---|
| 316 | -preprocessor_stats=$PREFIX-combined-m8-4.log |
---|