source: GTP/trunk/Lib/Vis/Preprocessing/src/run_test_arena @ 2077

Revision 2077, 11.9 KB checked in by bittner, 18 years ago (diff)

pvs query count fix

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3#COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+"
4COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+ -samples_per_evaluation=5000000 -samples_per_pass=1000000 -total_samples=250000000 -view_cells_use_kd_pvs+"
5
6
7SCENE=../data/Arena/arena-high-lods.obj
8VIEWCELLS=../data/Arena/viewcells-5000.xml.gz
9
10PREFIX=../work/plots/osp-arena3
11
12
13###########################
14###########################
15
16$COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
17-preprocessor_visibility_file=$PREFIX-reference.xml \
18-view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \
19-preprocessor_histogram_file=$PREFIX-r-reference.hlog
20
21$COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
22 -rss_distributions=direction -view_cells_filter_max_size=1 \
23 -preprocessor_visibility_file=$PREFIX-r-reference-global.xml \
24 -preprocessor_stats=$PREFIX-reference-global.log \
25 -preprocessor_histogram_file=$PREFIX-r-reference-global.hlog
26
27$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
28-mutation_buffer_size=100000 \
29-rss_distributions=mutation+object_direction+spatial \
30-preprocessor_stats=$PREFIX-combined-m1-1.log
31
32$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
33-mutation_buffer_size=200000 \
34-rss_distributions=mutation+object_direction+spatial \
35-preprocessor_stats=$PREFIX-combined-m1-2.log
36
37$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
38-mutation_buffer_size=500000 \
39-rss_distributions=mutation+object_direction+spatial \
40-preprocessor_stats=$PREFIX-combined-m1-3.log
41
42$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
43-mutation_buffer_size=1000000 \
44-rss_distributions=mutation+object_direction+spatial \
45-preprocessor_stats=$PREFIX-combined-m1-4.log
46
47$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
48-mutation_buffer_size=2000000 \
49-rss_distributions=mutation+object_direction+spatial \
50-preprocessor_stats=$PREFIX-combined-m1-5.log
51
52$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
53-mutation_buffer_size=4000000 \
54-rss_distributions=mutation+object_direction+spatial \
55-preprocessor_stats=$PREFIX-combined-m1-6.log
56
57
58# ############################
59# #### AND now the same with pass importance off
60
61$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
62-mutation_use_pass_importance- \
63-mutation_buffer_size=100000 \
64-rss_distributions=mutation+object_direction+spatial \
65-preprocessor_stats=$PREFIX-combined-m2-1.log
66
67$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
68-mutation_use_pass_importance- \
69-mutation_buffer_size=200000 \
70-rss_distributions=mutation+object_direction+spatial \
71-preprocessor_stats=$PREFIX-combined-m2-2.log
72
73$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
74-mutation_use_pass_importance- \
75-mutation_buffer_size=500000 \
76-rss_distributions=mutation+object_direction+spatial \
77-preprocessor_stats=$PREFIX-combined-m2-3.log
78
79$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
80-mutation_use_pass_importance- \
81-mutation_buffer_size=1000000 \
82-rss_distributions=mutation+object_direction+spatial \
83-preprocessor_stats=$PREFIX-combined-m2-4.log
84
85$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
86-mutation_use_pass_importance- \
87-mutation_buffer_size=2000000 \
88-rss_distributions=mutation+object_direction+spatial \
89-preprocessor_stats=$PREFIX-combined-m2-5.log
90
91$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
92-mutation_use_pass_importance- \
93-mutation_buffer_size=4000000 \
94-rss_distributions=mutation+object_direction+spatial \
95-preprocessor_stats=$PREFIX-combined-m2-6.log
96
97# ################################################
98# # silhouetee probability test
99# ################################################
100
101$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
102-mutation_silhouette_prob=0.0 \
103-mutation_use_pass_importance- \
104-mutation_buffer_size=500000 \
105-rss_distributions=mutation+object_direction+spatial \
106-preprocessor_stats=$PREFIX-combined-m3-1.log
107
108$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
109-mutation_silhouette_prob=0.2 \
110-mutation_use_pass_importance- \
111-mutation_buffer_size=500000 \
112-rss_distributions=mutation+object_direction+spatial \
113-preprocessor_stats=$PREFIX-combined-m3-2.log
114
115$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
116-mutation_silhouette_prob=0.5 \
117-mutation_use_pass_importance- \
118-mutation_buffer_size=500000 \
119-rss_distributions=mutation+object_direction+spatial \
120-preprocessor_stats=$PREFIX-combined-m3-3.log
121
122$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
123-mutation_silhouette_prob=0.8 \
124-mutation_use_pass_importance- \
125-mutation_buffer_size=500000 \
126-rss_distributions=mutation+object_direction+spatial \
127-preprocessor_stats=$PREFIX-combined-m3-4.log
128
129$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
130-mutation_silhouette_prob=1.0 \
131-mutation_use_pass_importance- \
132-mutation_buffer_size=500000 \
133-rss_distributions=mutation+object_direction+spatial \
134-preprocessor_stats=$PREFIX-combined-m3-5.log
135
136
137################################################
138# reverse test
139################################################
140
141$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
142-mutation_reverse_samples_distance=1.0 \
143-mutation_use_pass_importance- \
144-mutation_buffer_size=500000 \
145-rss_distributions=mutation+object_direction+spatial \
146-preprocessor_stats=$PREFIX-combined-m4-1.log
147
148
149$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
150-mutation_reverse_samples_distance=100000.0 \
151-mutation_use_pass_importance- \
152-mutation_buffer_size=500000 \
153-rss_distributions=mutation+object_direction+spatial \
154-preprocessor_stats=$PREFIX-combined-m4-2.log
155
156
157### unsucc count test
158
159
160
161$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
162-mutation_use_unsucc_count_importance+ \
163-mutation_use_pass_importance- \
164-mutation_buffer_size=2000000 \
165-rss_distributions=mutation+object_direction+spatial \
166-preprocessor_stats=$PREFIX-combined-m5-1.log
167
168
169$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
170-mutation_use_unsucc_count_importance+ \
171-mutation_use_pass_importance- \
172-mutation_buffer_size=500000 \
173-rss_distributions=mutation+object_direction+spatial \
174-preprocessor_stats=$PREFIX-combined-m5-2.log
175
176
177###########################################
178# search steps test
179###########################################
180
181$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
182-mutation_silhouette_search_steps=1 \
183-mutation_buffer_size=500000 \
184-rss_distributions=mutation+object_direction+spatial \
185-preprocessor_stats=$PREFIX-combined-m6-1.log
186
187$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
188-mutation_silhouette_search_steps=2 \
189-mutation_buffer_size=500000 \
190-rss_distributions=mutation+object_direction+spatial \
191-preprocessor_stats=$PREFIX-combined-m6-2.log
192
193$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
194-mutation_silhouette_search_steps=4 \
195-mutation_buffer_size=500000 \
196-rss_distributions=mutation+object_direction+spatial \
197-preprocessor_stats=$PREFIX-combined-m6-3.log
198
199
200###########################################
201# radius test
202###########################################
203
204$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
205-mutation_radius_origin=0.2 \
206-mutation_radius_termination=0.2 \
207-mutation_silhouette_prob=0.5 \
208-mutation_use_pass_importance- \
209-mutation_buffer_size=500000 \
210-rss_distributions=mutation+object_direction+spatial \
211-preprocessor_stats=$PREFIX-combined-m7-1.log
212
213$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
214-mutation_radius_origin=1.0 \
215-mutation_radius_termination=1.0 \
216-mutation_silhouette_prob=0.5 \
217-mutation_use_pass_importance- \
218-mutation_buffer_size=500000 \
219-rss_distributions=mutation+object_direction+spatial \
220-preprocessor_stats=$PREFIX-combined-m7-2.log
221
222$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
223-mutation_radius_origin=0.5 \
224-mutation_radius_termination=0.2 \
225-mutation_silhouette_prob=0.5 \
226-mutation_use_pass_importance- \
227-mutation_buffer_size=500000 \
228-rss_distributions=mutation+object_direction+spatial \
229-preprocessor_stats=$PREFIX-combined-m7-3.log
230
231$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
232-mutation_radius_origin=0.5 \
233-mutation_radius_termination=1.0 \
234-mutation_silhouette_prob=0.5 \
235-mutation_use_pass_importance- \
236-mutation_buffer_size=500000 \
237-rss_distributions=mutation+object_direction+spatial \
238-preprocessor_stats=$PREFIX-combined-m7-4.log
239
240$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
241-mutation_radius_origin=0.2 \
242-mutation_radius_termination=0.5 \
243-mutation_silhouette_prob=0.5 \
244-mutation_use_pass_importance- \
245-mutation_buffer_size=500000 \
246-rss_distributions=mutation+object_direction+spatial \
247-preprocessor_stats=$PREFIX-combined-m7-5.log
248
249
250$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
251-mutation_radius_origin=1.0 \
252-mutation_radius_termination=0.5 \
253-mutation_silhouette_prob=0.5 \
254-mutation_use_pass_importance- \
255-mutation_buffer_size=500000 \
256-rss_distributions=mutation+object_direction+spatial \
257-preprocessor_stats=$PREFIX-combined-m7-6.log
258
259$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
260-mutation_radius_origin=2.0 \
261-mutation_radius_termination=0.5 \
262-mutation_silhouette_prob=0.5 \
263-mutation_use_pass_importance- \
264-mutation_buffer_size=500000 \
265-rss_distributions=mutation+object_direction+spatial \
266-preprocessor_stats=$PREFIX-combined-m7-7.log
267
268
269### selected tests
270
271
272$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
273-mutation_silhouette_prob=0.5 \
274-mutation_reverse_samples_distance=1.0 \
275-mutation_radius_origin=0.5 \
276-mutation_radius_termination=0.2 \
277-mutation_use_unsucc_count_importance+ \
278-mutation_use_pass_importance- \
279-mutation_buffer_size=2000000 \
280-rss_distributions=mutation+object_direction+spatial \
281-preprocessor_stats=$PREFIX-combined-m8-1.log
282
283$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
284-mutation_silhouette_prob=0.5 \
285-mutation_reverse_samples_distance=1.0 \
286-mutation_radius_origin=1.0 \
287-mutation_radius_termination=0.2 \
288-mutation_use_unsucc_count_importance+ \
289-mutation_use_pass_importance- \
290-mutation_buffer_size=2000000 \
291-rss_distributions=mutation+object_direction+spatial \
292-preprocessor_stats=$PREFIX-combined-m8-2.log
293
294$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
295-mutation_silhouette_prob=0.5 \
296-mutation_reverse_samples_distance=1.0 \
297-mutation_radius_origin=2.0 \
298-mutation_radius_termination=0.2 \
299-mutation_use_unsucc_count_importance+ \
300-mutation_use_pass_importance- \
301-mutation_buffer_size=2000000 \
302-rss_distributions=mutation+object_direction+spatial \
303-preprocessor_stats=$PREFIX-combined-m8-3.log
304
305$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
306-mutation_silhouette_prob=0.5 \
307-mutation_reverse_samples_distance=1.0 \
308-mutation_radius_origin=0.5 \
309-mutation_radius_termination=0.2 \
310-mutation_use_unsucc_count_importance- \
311-mutation_use_pass_importance+ \
312-mutation_buffer_size=2000000 \
313-rss_distributions=mutation+object_direction+spatial \
314-preprocessor_stats=$PREFIX-combined-m8-4.log
Note: See TracBrowser for help on using the repository browser.