Line | |
---|
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/vienna/vienna_cropped.obj |
---|
14 | SCENE=../data/vienna/city_full.obj |
---|
15 | |
---|
16 | VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz |
---|
17 | VIEWPOINTS=../data/vienna/testwalk.vp |
---|
18 | |
---|
19 | LOG_PREFIX=../src/SG08/testwalk_cropped |
---|
20 | #LOG_PREFIX=../src/SG08/city_full_100 |
---|
21 | |
---|
22 | ENVIRONMENT=gvs.env |
---|
23 | |
---|
24 | |
---|
25 | METHOD=gvs |
---|
26 | echo "$SCENE $METHOD" |
---|
27 | |
---|
28 | |
---|
29 | $COMMAND $ENVIRONMENT \ |
---|
30 | -scene_filename=$SCENE \ |
---|
31 | -preprocessor=gvs \ |
---|
32 | -preprocessor_use_vbos+ \ |
---|
33 | -gvs_epsilon=0.0001 \ |
---|
34 | -gvs_total_samples=1000000 \ |
---|
35 | -gvs_samples_per_pass=1000000 \ |
---|
36 | -gvs_initial_samples=16 \ |
---|
37 | -gvs_max_viewcells=1 \ |
---|
38 | -gvs_min_contribution=100 \ |
---|
39 | -gvs_per_viewcell=true \ |
---|
40 | -gvs_stats=$LOG_PREFIX-gvsStats.log \ |
---|
41 | -view_cells_filename=$VIEWCELLS \ |
---|
42 | -view_cells_load_from_file=true \ |
---|
43 | -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \ |
---|
44 | -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \ |
---|
45 | -preprocessor_visibility_file=$LOG_PREFIX-i-gvs-b1-n4l.xml \ |
---|
46 | -preprocessor_stats=$LOG_PREFIX-i-gvs-b1-n4l.log \ |
---|
47 | -view_cells_random_viewpoint_list=$VIEWPOINTS \ |
---|
48 | -preprocessor_histogram_file=$LOG_PREFIX-i-gvs-b1-n4f.hlog |
---|
49 | |
---|
50 | |
---|
51 | sh movefiles.sh $LOG_PREFIX-$METHOD |
---|
Note: See
TracBrowser
for help on using the repository browser.