source: GTP/trunk/Lib/Vis/Preprocessing/src/run_test2 @ 2022

Revision 2022, 4.4 KB checked in by bittner, 17 years ago (diff)
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3
4#COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+"
5COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -samples_per_pass=1000000 -total_samples=1000000000"
6
7#SCENE="../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d"
8#VIEWCELLS=../data/vienna/vienna-viewcells-5000.xml
9
10
11#SCENE=../data/soda/soda.obj
12#VIEWCELLS=../data/soda/soda5-viewcells-1000.xml
13#VIEWCELLS=../data/soda/soda5-viewcells-single.xml
14
15#SCENE=../data/PowerPlant/selection.plb
16#VIEWCELLS=../data/PowerPlant/power_plant_viewcells1.xml
17
18#SCENE=../data/soda/soda5.dat
19#VIEWCELLS=../data/soda/soda-viewcells-5000.xml
20#VIEWCELLS=../data/soda/soda5-viewcells.xml
21#VIEWCELLS=../data/soda/soda5-viewcells-single.xml
22
23#SCENE=../data/artificial/city.x3d
24#VIEWCELLS=../data/soda/soda5-viewcells2.xml
25#VIEWCELLS=../data/artificial/city-viewcells-1000.xml
26
27#SCENE=../data/test1/test2.x3d
28#VIEWCELLS=../data/test1/test-viewcells.xml
29
30SCENE=../data/vienna/vienna_cropped.obj
31VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz
32
33PREFIX=../work/plots/osp-1e5
34
35#SCENE=../data/atlanta/atlanta2.x3d
36#PREFIX=../work/plots/atlanta2-rss9
37
38
39$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
40-rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \
41-view_cells_use_kd_pvs+ -af_use_kd_pvs+ \
42-preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4k.xml \
43-preprocessor_stats=$PREFIX-i-mixed-b1-n4k.log \
44-preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4k.hlog
45
46$COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
47-preprocessor_visibility_file=$PREFIX-r-reference.xml \
48-view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \
49-preprocessor_histogram_file=$PREFIX-r-reference.hlog
50
51$COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
52 -rss_distributions=direction -view_cells_filter_max_size=1 \
53 -preprocessor_visibility_file=$PREFIX-r-reference-global.xml \
54 -preprocessor_stats=$PREFIX-r-reference-global.log \
55 -preprocessor_histogram_file=$PREFIX-r-reference-global.hlog
56
57
58$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
59-rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \
60-view_cells_use_kd_pvs- -af_use_kd_pvs+ \
61-preprocessor_visibility_file=$PREFIX-i-mixed-bvh-n4k.xml \
62-preprocessor_stats=$PREFIX-i-mixed-bvh-n4k.log \
63-preprocessor_histogram_file=$PREFIX-i-mixed-bvh-n4k.hlog
64
65$COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
66-view_cells_use_kd_pvs- -af_use_kd_pvs+ \
67-preprocessor_visibility_file=$PREFIX-r-bvh-reference.xml \
68-view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-bvh-reference.log \
69-preprocessor_histogram_file=$PREFIX-r-bvh-reference.hlog
70
71$COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
72-view_cells_use_kd_pvs- -af_use_kd_pvs+ \
73 -rss_distributions=direction -view_cells_filter_max_size=1 \
74 -preprocessor_visibility_file=$PREFIX-r-bvh-reference-global.xml \
75 -preprocessor_stats=$PREFIX-r-bvh-reference-global.log \
76 -preprocessor_histogram_file=$PREFIX-r-bvh-reference-global.hlog
77
78# $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
79#  -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \
80#  -view_cells_use_kd_pvs- -af_use_kd_pvs- \
81#  -preprocessor_visibility_file=$PREFIX-i-mixed-bvh-n4i.xml \
82#  -preprocessor_stats=$PREFIX-i-mixed-bvh-n4i.log \
83#  -preprocessor_histogram_file=$PREFIX-i-mixed-bvh-n4i.hlog
84
85
86
87#$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
88# -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \
89# -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4i.xml \
90# -preprocessor_stats=$PREFIX-i-mixed-b1-n4i.log \
91# -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4i.hlog
92
93
94# e - no origin mutation, silh. tm Q=2, reverse samples
95# f - no origin, q=2, no reverse samples
96# g - gaussian origin, q=2, reverse samples
97
98# g, h contain pvs error estimations...
99
100# $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
101# -rss_distributions=rss+object_direction+spatial+object+direction -view_cells_filter_max_size=1 \
102# -preprocessor_stats=$PREFIX-i-mixed-b1-n2.log \
103# -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n2.hlog
104
105
106
Note: See TracBrowser for help on using the repository browser.