source: GTP/trunk/Lib/Vis/Preprocessing/scripts/arena.sh @ 1919

Revision 1919, 3.6 KB checked in by mattausch, 18 years ago (diff)

added mechanism for histogram on certain MB in hierarchymanager
no more bug in undersampling estimation
added sampling strategy to spatial box based (also for eval)
added testing scripts

Line 
1#!/bin/sh
2
3# add bin to path
4export PATH=../bin:$PATH
5
6#TARGET=debug
7TARGET=release
8
9PROGRAM=../bin/$TARGET/Preprocessor.exe
10
11SCENE=arena
12LOG_PREFIX=../scripts/tests/gi/$SCENE-35M-gi
13ENVIRONMENT=$SCENE.env
14
15echo "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
36sh movefiles.sh $LOG_PREFIX-$METHOD
37
38
39############################################################################
40
41NODES=10000
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=50000
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
Note: See TracBrowser for help on using the repository browser.