source: GTP/trunk/Lib/Vis/Preprocessing/scripts/vsposp_typical.sh @ 1643

Revision 1643, 5.2 KB checked in by mattausch, 18 years ago (diff)
RevLine 
[1633]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
11echo "starting $TARGET mode"
12
13SCENE=vsposp_typical
[1640]14#SCENE=vsposp_vienna
[1633]15#SCENE=soda5
16#SCENE=cube
17#SCENE=atlanta
18#SCENE=vienna
19
20LOG_PREFIX=../scripts/tests/i3d/$SCENE
21
22ENVIRONMENT=$SCENE.env
23
24
25#######################################################
26
27
[1642]28# METHOD=interleaved_full
29# echo "$SCENE $METHOD"
[1633]30
[1642]31# $PROGRAM $ENVIRONMENT \
32# -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
33# -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
34# -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
35# -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
36# -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
37# -hierarchy_construction_type=1 \
38# -hierarchy_construction_recompute_split_on_repair=true
[1633]39
[1642]40# mv debug.log $LOG_PREFIX-$METHOD-debug.log
41# mv view_cells.wrl $LOG_PREFIX-$METHOD-view_cells.wrl
42# mv final_object_partition.wrl $LOG_PREFIX-$METHOD-final_object_partition.wrl
43# mv final_view_cells.wrl $LOG_PREFIX-$METHOD-final_view_cells.wrl
[1640]44
45
[1642]46# METHOD=interleaved
47# echo "$SCENE $METHOD"
[1640]48
[1642]49# $PROGRAM $ENVIRONMENT \
50# -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
51# -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
52# -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
53# -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
54# -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
55# -hierarchy_construction_type=1 \
56# -hierarchy_construction_recompute_split_on_repair=false
[1640]57
[1642]58# mv debug.log $LOG_PREFIX-$METHOD-debug.log
59# mv view_cells.wrl $LOG_PREFIX-$METHOD-view_cells.wrl
60# mv final_object_partition.wrl $LOG_PREFIX-$METHOD-final_object_partition.wrl
61# mv final_view_cells.wrl $LOG_PREFIX-$METHOD-final_view_cells.wrl
[1640]62
63
[1642]64# METHOD=gradient
65# echo "$SCENE $METHOD"
[1640]66
[1642]67# $PROGRAM $ENVIRONMENT \
68# -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
69# -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
70# -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
71# -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
72# -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
73# -hierarchy_construction_type=2 \
74# -hierarchy_construction_recompute_split_on_repair=true
[1640]75
[1642]76# mv debug.log $LOG_PREFIX-$METHOD-debug.log
77# mv view_cells.wrl $LOG_PREFIX-$METHOD-view_cells.wrl
78# mv final_object_partition.wrl $LOG_PREFIX-$METHOD-final_object_partition.wrl
79# mv final_view_cells.wrl $LOG_PREFIX-$METHOD-final_view_cells.wrl
80
[1643]81#  METHOD=multilevel
82#  echo "$SCENE $METHOD"
83
84#  $PROGRAM $ENVIRONMENT \
85#  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
86#  -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
87#  -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
88#  -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
89#  -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
90#  -hierarchy_construction_type=2 \
91#  -hierarchy_construction_multilevel=true \
92#  -hierarchy_construction_samples=20000 \
93#  -hierarchy_term_max_leaves=500 \
94#  -hierarchy_construction_levels=1 \
95#  -hierarchy_construction_recompute_split_on_repair=true
96
97#  mv debug.log $LOG_PREFIX-$METHOD-debug.log
98#  mv view_cells.wrl $LOG_PREFIX-$METHOD-view_cells.wrl
99#  mv final_object_partition.wrl $LOG_PREFIX-$METHOD-final_object_partition.wrl
100#  mv final_view_cells.wrl $LOG_PREFIX-$METHOD-final_view_cells.wrl
101
102#  METHOD=sequential
103#  echo "$SCENE $METHOD"
104
105#  $PROGRAM $ENVIRONMENT \
106#  -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
107#  -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
108#  -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
109#  -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
110#  -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
111#  -hierarchy_construction_type=0 \
112#  -bvh_term_max_leaves=500
113
114#  mv debug.log $LOG_PREFIX-$METHOD-debug.log
115#  mv view_cells.wrl $LOG_PREFIX-$METHOD-view_cells.wrl
116#  mv final_object_partition.wrl $LOG_PREFIX-$METHOD-final_object_partition.wrl
117#  mv final_view_cells.wrl $LOG_PREFIX-$METHOD-final_view_cells.wrl
118
119 METHOD=gradient_simplesplit
[1642]120 echo "$SCENE $METHOD"
121
122 $PROGRAM $ENVIRONMENT \
123 -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
124 -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
125 -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
126 -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
[1643]127 -bvh_use_sah=true \
128 -vsp_use_cost_heuristics=false \
[1642]129 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
130 -hierarchy_construction_type=2 \
131 -hierarchy_construction_recompute_split_on_repair=true
132
133 mv debug.log $LOG_PREFIX-$METHOD-debug.log
134 mv view_cells.wrl $LOG_PREFIX-$METHOD-view_cells.wrl
135 mv final_object_partition.wrl $LOG_PREFIX-$METHOD-final_object_partition.wrl
[1643]136 mv final_view_cells.wrl $LOG_PREFIX-$METHOD-final_view_cells.wrl
Note: See TracBrowser for help on using the repository browser.