source: GTP/trunk/Lib/Vis/Preprocessing/scripts/run_gvs_vps.sh @ 2745

Revision 2745, 2.2 KB checked in by mattausch, 16 years ago (diff)
Line 
1#!/bin/sh
2
3# add bin to path
4export PATH=../bin:$PATH
5
6#TARGET=debug
7TARGET=release
8
9COMMAND="../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
11echo "starting $TARGET version"
12
13#SCENE=../data/Arena/arena-high-lods.obj
14SCENE=../data/Arena/arena_trees.obj
15#VIEWCELLS=../data/Arena/arena-high-lods-5000-viewcells.xml.gz
16#SCENE=../data/vienna/vienna_cropped.obj
17#SCENE=../data/roofs_new.obj
18SCENE=../data/vienna/city_full_hp.obj
19#SCENE=../data/vienna/vienna_rep.obj
20SCENE=../data/vienna/vienna_cropped.obj
21
22VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz
23VIEWPOINTS=../data/vienna/testwalk.vp
24#VIEWPOINTS=../data/arena/arena_key_cropped.vp
25
26#LOG_PREFIX=../src/SG08/rebut-arena-pixel2
27LOG_PREFIX=../src/SG08/test
28
29ENVIRONMENT=gvs.env
30
31
32METHOD=gvs
33echo "$SCENE $METHOD"
34
35
36$COMMAND $ENVIRONMENT \
37-scene_filename=$SCENE \
38-preprocessor=gvs \
39-preprocessor_use_vbos- \
40-gvs_epsilon=0.0001 \
41-gvs_total_samples=1000000 \
42-gvs_samples_per_pass=1000000 \
43-gvs_initial_samples=10000 \
44-gvs_max_viewcells=1 \
45-gvs_min_contribution=50 \
46-gvs_per_viewcell=true \
47-gvs_threshold=0.05 \
48-gvs_radius_of_influence=5.0 \
49-gvs_use_deterministic_gvs+ \
50-gvs_initial_jitter=0.1 \
51-preprocessor_detect_empty_viewspace+ \
52-preprocessor_snap_error_frames+ \
53-kd_pvs_area=1e-5 \
54-view_cells_use_kd_pvs+ \
55-af_use_kd_pvs+ \
56-gvs_stats=$LOG_PREFIX-gvsStats.log \
57-view_cells_filename=$VIEWCELLS \
58-view_cells_load_from_file=true \
59-view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
60-view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
61-preprocessor_visibility_file=$LOG_PREFIX-i-gvs-b1-n4l.xml \
62-preprocessor_stats=$LOG_PREFIX-i-gvs-b1-n4l.log \
63-view_cells_random_viewpoint_list=$VIEWPOINTS \
64-preprocessor_histogram_file=$LOG_PREFIX-i-gvs-b1-n4f.hlog
65
66
67sh movefiles.sh $LOG_PREFIX-$METHOD
Note: See TracBrowser for help on using the repository browser.