1 | #!/bin/sh |
---|
2 | |
---|
3 | # add bin to path |
---|
4 | export PATH=../bin:$PATH |
---|
5 | |
---|
6 | #TARGET=debug |
---|
7 | TARGET=release |
---|
8 | |
---|
9 | COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -samples_per_pass=1000000 -samples_per_evaluation=10000000 -total_samples=250000000 -preprocessor_pvs_rendererror_samples=100000 -preprocessor_evaluatePixelError+ -preprocessor_detect_empty_viewspace- -kd_pvs_area=1e-4 -view_cells_use_kd_pvs+ -af_use_kd_pvs+ -view_cells_import_random_viewcells+ -view_cells_export_random_viewcells-" |
---|
10 | |
---|
11 | echo "starting $TARGET version" |
---|
12 | |
---|
13 | #SCENE=../data/Arena/arena-high-lods.obj |
---|
14 | #VIEWCELLS=../data/Arena/arena-high-lods-5000-viewcells.xml.gz |
---|
15 | #SCENE=../data/vienna/vienna_cropped.obj |
---|
16 | #SCENE=../data/roofs_new.obj |
---|
17 | SCENE=../data/vienna/city_full_hp.obj |
---|
18 | #SCENE=../data/vienna/vienna_rep.obj |
---|
19 | |
---|
20 | #SCENE=../data/vienna/vienna_cropped.obj |
---|
21 | #VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
22 | VIEWPOINTS=../data/vienna/testwalk.vp |
---|
23 | |
---|
24 | #LOG_PREFIX=../src/SG08/rebut-arena-pixel2 |
---|
25 | #LOG_PREFIX=../src/SG08/full |
---|
26 | LOG_PREFIX=../src/SG08/city_full |
---|
27 | |
---|
28 | ENVIRONMENT=gvs.env |
---|
29 | |
---|
30 | |
---|
31 | METHOD=gvs |
---|
32 | echo "$SCENE $METHOD" |
---|
33 | |
---|
34 | |
---|
35 | $COMMAND $ENVIRONMENT \ |
---|
36 | -scene_filename=$SCENE \ |
---|
37 | -preprocessor=gvs \ |
---|
38 | -preprocessor_use_vbos- \ |
---|
39 | -gvs_epsilon=0.0001 \ |
---|
40 | -gvs_total_samples=1000000 \ |
---|
41 | -gvs_samples_per_pass=1000000 \ |
---|
42 | -gvs_initial_samples=16 \ |
---|
43 | -gvs_max_viewcells=5000 \ |
---|
44 | -gvs_min_contribution=500 \ |
---|
45 | -gvs_per_viewcell=true \ |
---|
46 | -preprocessor_detect_empty_viewspace+ \ |
---|
47 | -kd_pvs_area=1e-4 \ |
---|
48 | -view_cells_use_kd_pvs+ \ |
---|
49 | -af_use_kd_pvs+ \ |
---|
50 | -gvs_stats=$LOG_PREFIX-gvsStats.log \ |
---|
51 | -view_cells_filename=$VIEWCELLS \ |
---|
52 | -view_cells_load_from_file=true \ |
---|
53 | -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \ |
---|
54 | -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \ |
---|
55 | -preprocessor_visibility_file=$LOG_PREFIX-i-gvs-b1-n4l.xml \ |
---|
56 | -preprocessor_stats=$LOG_PREFIX-i-gvs-b1-n4l.log \ |
---|
57 | -view_cells_random_viewpoint_list=$VIEWPOINTS \ |
---|
58 | -preprocessor_histogram_file=$LOG_PREFIX-i-gvs-b1-n4f.hlog |
---|
59 | |
---|
60 | |
---|
61 | sh movefiles.sh $LOG_PREFIX-$METHOD |
---|