1 | <<<<<<< .mine |
---|
2 | #!/bin/sh |
---|
3 | |
---|
4 | # add bin to path |
---|
5 | export PATH=../bin:$PATH |
---|
6 | |
---|
7 | #TARGET=debug |
---|
8 | TARGET=release |
---|
9 | |
---|
10 | PROGRAM=../bin/$TARGET/Preprocessor.exe |
---|
11 | |
---|
12 | SCENE=vienna_cropped_gi |
---|
13 | LOG_PREFIX=../scripts/tests/gi/$SCENE-35MB |
---|
14 | ENVIRONMENT=$SCENE.env |
---|
15 | |
---|
16 | echo "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 | |
---|
37 | sh movefiles.sh $LOG_PREFIX-$METHOD |
---|
38 | |
---|
39 | ####################################################### |
---|
40 | |
---|
41 | NODES=50000 |
---|
42 | USE_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 | |
---|
58 | sh movefiles.sh $LOG_PREFIX-$METHOD |
---|
59 | |
---|
60 | |
---|
61 | ####################################################### |
---|
62 | |
---|
63 | NODES=10000 |
---|
64 | USE_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 | |
---|
80 | sh 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 | |
---|
103 | sh movefiles.sh $LOG_PREFIX-$METHOD |
---|
104 | ======= |
---|
105 | #!/bin/sh
|
---|
106 |
|
---|
107 | # add bin to path
|
---|
108 | export PATH=../bin:$PATH
|
---|
109 |
|
---|
110 | #TARGET=debug
|
---|
111 | TARGET=release
|
---|
112 |
|
---|
113 | PROGRAM=../bin/$TARGET/Preprocessor.exe
|
---|
114 |
|
---|
115 | SCENE=vienna_cropped_gi
|
---|
116 | LOG_PREFIX=../scripts/tests/gi/$SCENE-35MB
|
---|
117 | ENVIRONMENT=$SCENE.env
|
---|
118 |
|
---|
119 | echo "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 |
|
---|
140 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
141 |
|
---|
142 | #######################################################
|
---|
143 |
|
---|
144 | NODES=10000
|
---|
145 | USE_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 |
|
---|
161 | sh 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 |
|
---|
184 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
185 |
|
---|
186 | #######################################################
|
---|
187 |
|
---|
188 | NODES=50000
|
---|
189 | USE_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 |
|
---|
205 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
206 |
|
---|
207 |
|
---|
208 | #######################################################>>>>>>> .r2034 |
---|