Revision 2540,
1.3 KB
checked in by mattausch, 17 years ago
(diff) |
|
-
Property svn:executable set to
*
|
Line | |
---|
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 |
|
---|
12 | EXT=obj
|
---|
13 |
|
---|
14 | SCENE=vienna_cropped
|
---|
15 | SCENE_PATH=../data/vienna
|
---|
16 |
|
---|
17 | #SCENE=arena-high-lods
|
---|
18 | #SCENE_PATH=../data/Arena
|
---|
19 |
|
---|
20 |
|
---|
21 | ENVIRONMENT=generate_viewcells.env
|
---|
22 | LOG_PREFIX=$SCENE
|
---|
23 |
|
---|
24 | echo "starting $TARGET mode for $SCENE scene ($PROGRAM)"
|
---|
25 |
|
---|
26 | SCENE_FILENAME=$SCENE_PATH/$SCENE.$EXT
|
---|
27 |
|
---|
28 |
|
---|
29 | #######################################################
|
---|
30 |
|
---|
31 | METHOD=seq
|
---|
32 |
|
---|
33 | NODES=4000
|
---|
34 | VIEWCELLS=4000
|
---|
35 | USE_HEUR=false
|
---|
36 | OBJ_WEIGHT=20
|
---|
37 | SAMPLES=1000000
|
---|
38 |
|
---|
39 | echo "$SCENE $METHOD"
|
---|
40 | $PROGRAM $ENVIRONMENT \
|
---|
41 | -scene_filename=$SCENE_FILENAME \
|
---|
42 | -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \
|
---|
43 | -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
|
---|
44 | -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
|
---|
45 | -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
|
---|
46 | -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
|
---|
47 | -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
|
---|
48 | -hierarchy_construction_type=0 \
|
---|
49 | -view_cells_triangle_weight=1.0 \
|
---|
50 | -view_cells_object_weight=$OBJ_WEIGHT \
|
---|
51 | -vsp_use_cost_heuristics=$USE_HEUR \
|
---|
52 | -bvh_term_max_leaves=$NODES \
|
---|
53 | -vsp_term_max_view_cells=$VIEWCELLS \
|
---|
54 | -hierarchy_construction_samples=$SAMPLES
|
---|
55 |
|
---|
56 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
57 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.