source: GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna_cropped.sh @ 2075

Revision 2075, 7.0 KB checked in by bittner, 18 years ago (diff)

preprocess visibility scripts update

Line 
1<<<<<<< .mine
2#!/bin/sh
3
4# add bin to path
5export PATH=../bin:$PATH
6
7#TARGET=debug
8TARGET=release
9
10PROGRAM=../bin/$TARGET/Preprocessor.exe
11
12SCENE=vienna_cropped_gi
13LOG_PREFIX=../scripts/tests/gi/$SCENE-35MB
14ENVIRONMENT=$SCENE.env
15
16echo "starting $TARGET mode for $SCENE scene"
17
18############################################################################
19
20 METHOD=gradient-full
21 echo "$SCENE $METHOD"
22
23$PROGRAM $ENVIRONMENT \
24  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
25  -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
26  -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
27  -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
28  -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
29  -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
30  -hierarchy_construction_type=2 \
31  -hierarchy_construction_consider_memory=true \
32  -hierarchy_construction_multilevel=false \
33  -bvh_use_sah=false \
34  -vsp_use_cost_heuristics=true \
35  -hierarchy_construction_recompute_split_on_repair=true
36
37sh movefiles.sh $LOG_PREFIX-$METHOD
38
39#######################################################
40
41NODES=50000
42USE_HEUR=true
43
44  METHOD=sequential-$NODES-$USE_HEUR
45  echo "$SCENE $METHOD"
46
47$PROGRAM $ENVIRONMENT \
48  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
49 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
50 -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
51 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
52 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
53 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
54 -hierarchy_construction_type=0 \
55 -vsp_use_cost_heuristics=$USE_HEUR \
56 -bvh_term_max_leaves=$NODES
57
58sh movefiles.sh $LOG_PREFIX-$METHOD
59
60
61#######################################################
62
63NODES=10000
64USE_HEUR=true
65
66  METHOD=sequential-$NODES-$USE_HEUR
67  echo "$SCENE $METHOD"
68
69$PROGRAM $ENVIRONMENT \
70  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
71 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
72 -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
73 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
74 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
75 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
76 -hierarchy_construction_type=0 \
77 -vsp_use_cost_heuristics=$USE_HEUR \
78 -bvh_term_max_leaves=$NODES
79
80sh movefiles.sh $LOG_PREFIX-$METHOD
81
82#######################################################
83
84 METHOD=gradient-full-corr
85 echo "$SCENE $METHOD"
86
87$PROGRAM $ENVIRONMENT \
88  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
89  -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
90  -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
91  -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
92  -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
93  -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
94  -hierarchy_construction_type=2 \
95  -hierarchy_construction_consider_memory=true \
96  -hierarchy_construction_multilevel=false \
97  -bvh_use_sah=false \
98  -vsp_use_cost_heuristics=true \
99  -hierarchy_construction_min_avg_raycontri=0.01 \
100  -hierarchy_construction_max_avg_raycontri=0.5 \
101  -hierarchy_construction_recompute_split_on_repair=true
102
103sh movefiles.sh $LOG_PREFIX-$METHOD
104=======
105#!/bin/sh
106
107# add bin to path
108export PATH=../bin:$PATH
109
110#TARGET=debug
111TARGET=release
112
113PROGRAM=../bin/$TARGET/Preprocessor.exe
114
115SCENE=vienna_cropped_gi
116LOG_PREFIX=../scripts/tests/gi/$SCENE-35MB
117ENVIRONMENT=$SCENE.env
118
119echo "starting $TARGET mode for $SCENE scene"
120
121############################################################################
122
123 METHOD=gradient-full
124 echo "$SCENE $METHOD"
125
126$PROGRAM $ENVIRONMENT \
127  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
128  -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
129  -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
130  -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
131  -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
132  -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
133  -hierarchy_construction_type=2 \
134  -hierarchy_construction_consider_memory=true \
135  -hierarchy_construction_multilevel=false \
136  -bvh_use_sah=false \
137  -vsp_use_cost_heuristics=true \
138  -hierarchy_construction_recompute_split_on_repair=true
139
140sh movefiles.sh $LOG_PREFIX-$METHOD
141
142#######################################################
143
144NODES=10000
145USE_HEUR=true
146
147  METHOD=sequential-$NODES-$USE_HEUR
148  echo "$SCENE $METHOD"
149
150$PROGRAM $ENVIRONMENT \
151  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
152 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
153 -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
154 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
155 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
156 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
157 -hierarchy_construction_type=0 \
158 -vsp_use_cost_heuristics=$USE_HEUR \
159 -bvh_term_max_leaves=$NODES
160
161sh movefiles.sh $LOG_PREFIX-$METHOD
162
163#######################################################
164
165 METHOD=gradient-full-corr
166 echo "$SCENE $METHOD"
167
168$PROGRAM $ENVIRONMENT \
169  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
170  -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
171  -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
172  -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
173  -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
174  -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
175  -hierarchy_construction_type=2 \
176  -hierarchy_construction_consider_memory=true \
177  -hierarchy_construction_multilevel=false \
178  -bvh_use_sah=false \
179  -vsp_use_cost_heuristics=true \
180  -hierarchy_construction_min_avg_raycontri=0.01 \
181  -hierarchy_construction_max_avg_raycontri=0.5 \
182  -hierarchy_construction_recompute_split_on_repair=true
183
184sh movefiles.sh $LOG_PREFIX-$METHOD
185
186#######################################################
187
188NODES=50000
189USE_HEUR=true
190
191  METHOD=sequential-$NODES-$USE_HEUR
192  echo "$SCENE $METHOD"
193
194$PROGRAM $ENVIRONMENT \
195  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
196 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
197 -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
198 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
199 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
200 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
201 -hierarchy_construction_type=0 \
202 -vsp_use_cost_heuristics=$USE_HEUR \
203 -bvh_term_max_leaves=$NODES
204
205sh movefiles.sh $LOG_PREFIX-$METHOD
206
207
208#######################################################>>>>>>> .r2034
Note: See TracBrowser for help on using the repository browser.