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

Revision 2651, 1.5 KB checked in by mattausch, 17 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-5 -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
13SCENE=../data/vienna/vienna_cropped.obj
14
15VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz
16
17LOG_PREFIX=../src/SG08/rebut
18ENVIRONMENT=gvs.env
19
20
21METHOD=gvs
22echo "$SCENE $METHOD"
23
24
25$COMMAND $ENVIRONMENT \
26-scene_filename=$SCENE \
27-preprocessor=gvs \
28-gvs_epsilon=0.0001 \
29-gvs_total_samples=500000 \
30-gvs_samples_per_pass=50000 \
31-gvs_initial_samples=16 \
32-gvs_max_viewcells=200 \
33-gvs_min_contribution=200 \
34-gvs_per_viewcell=true \
35-gvs_stats=$LOG_PREFIX-gvsStats.log \
36-view_cells_filename=$VIEWCELLS \
37-view_cells_load_from_file=true \
38-view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
39-view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
40-preprocessor_evaluate_filter+ \
41-preprocessor_visibility_file=$LOG_PREFIX-i-gvs-b1-n4l.xml \
42-preprocessor_stats=$LOG_PREFIX-i-gvs-b1-n4l.log \
43-preprocessor_histogram_file=$LOG_PREFIX-i-gvs-b1-n4f.hlog \
44-preprocessor_evaluatePixelError+
45
46
47sh movefiles.sh $LOG_PREFIX-$METHOD
Note: See TracBrowser for help on using the repository browser.