1 | #!/bin/sh
|
---|
2 |
|
---|
3 | # add bin to path
|
---|
4 | export PATH=../bin:$PATH
|
---|
5 |
|
---|
6 | #TARGET=debug
|
---|
7 | TARGET=release
|
---|
8 |
|
---|
9 | PROGRAM=../bin/$TARGET/Preprocessor.exe
|
---|
10 |
|
---|
11 | SCENE=vienna_cropped_gi
|
---|
12 | LOG_PREFIX=../scripts/tests/gi/$SCENE-35MB
|
---|
13 | ENVIRONMENT=$SCENE.env
|
---|
14 |
|
---|
15 | echo "starting $TARGET mode for $SCENE scene"
|
---|
16 |
|
---|
17 | ############################################################################
|
---|
18 |
|
---|
19 | METHOD=gradient-full
|
---|
20 | echo "$SCENE $METHOD"
|
---|
21 |
|
---|
22 | $PROGRAM $ENVIRONMENT \
|
---|
23 | -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
|
---|
24 | -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
|
---|
25 | -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
|
---|
26 | -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
|
---|
27 | -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
|
---|
28 | -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
|
---|
29 | -hierarchy_construction_type=2 \
|
---|
30 | -hierarchy_construction_consider_memory=true \
|
---|
31 | -hierarchy_construction_multilevel=false \
|
---|
32 | -bvh_use_sah=false \
|
---|
33 | -vsp_use_cost_heuristics=true \
|
---|
34 | -hierarchy_construction_recompute_split_on_repair=true
|
---|
35 |
|
---|
36 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
37 |
|
---|
38 | #######################################################
|
---|
39 |
|
---|
40 | NODES=10000
|
---|
41 | USE_HEUR=true
|
---|
42 |
|
---|
43 | METHOD=sequential-$NODES-$USE_HEUR
|
---|
44 | echo "$SCENE $METHOD"
|
---|
45 |
|
---|
46 | $PROGRAM $ENVIRONMENT \
|
---|
47 | -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
|
---|
48 | -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
|
---|
49 | -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
|
---|
50 | -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
|
---|
51 | -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
|
---|
52 | -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
|
---|
53 | -hierarchy_construction_type=0 \
|
---|
54 | -vsp_use_cost_heuristics=$USE_HEUR \
|
---|
55 | -bvh_term_max_leaves=$NODES
|
---|
56 |
|
---|
57 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
58 |
|
---|
59 | #######################################################
|
---|
60 |
|
---|
61 | METHOD=gradient-full-corr
|
---|
62 | echo "$SCENE $METHOD"
|
---|
63 |
|
---|
64 | $PROGRAM $ENVIRONMENT \
|
---|
65 | -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
|
---|
66 | -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
|
---|
67 | -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
|
---|
68 | -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
|
---|
69 | -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
|
---|
70 | -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
|
---|
71 | -hierarchy_construction_type=2 \
|
---|
72 | -hierarchy_construction_consider_memory=true \
|
---|
73 | -hierarchy_construction_multilevel=false \
|
---|
74 | -bvh_use_sah=false \
|
---|
75 | -vsp_use_cost_heuristics=true \
|
---|
76 | -hierarchy_construction_min_avg_raycontri=0.01 \
|
---|
77 | -hierarchy_construction_max_avg_raycontri=0.5 \
|
---|
78 | -hierarchy_construction_recompute_split_on_repair=true
|
---|
79 |
|
---|
80 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
81 |
|
---|
82 | #######################################################
|
---|
83 |
|
---|
84 | NODES=50000
|
---|
85 | USE_HEUR=true
|
---|
86 |
|
---|
87 | METHOD=sequential-$NODES-$USE_HEUR
|
---|
88 | echo "$SCENE $METHOD"
|
---|
89 |
|
---|
90 | $PROGRAM $ENVIRONMENT \
|
---|
91 | -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
|
---|
92 | -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
|
---|
93 | -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
|
---|
94 | -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
|
---|
95 | -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
|
---|
96 | -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
|
---|
97 | -hierarchy_construction_type=0 \
|
---|
98 | -vsp_use_cost_heuristics=$USE_HEUR \
|
---|
99 | -bvh_term_max_leaves=$NODES
|
---|
100 |
|
---|
101 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
102 |
|
---|
103 |
|
---|
104 | ####################################################### |
---|