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=arena
|
---|
12 | LOG_PREFIX=../scripts/tests/gi/$SCENE-35M-gi
|
---|
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 |
|
---|
41 | NODES=10000
|
---|
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=50000
|
---|
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 |
---|