Revision 2633,
1.4 KB
checked in by mattausch, 17 years ago
(diff) |
revived hash pvs
|
-
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 | SCENE=PompeiiTen
|
---|
21 | SCENE_PATH=../data/pompeii
|
---|
22 |
|
---|
23 |
|
---|
24 | ENVIRONMENT=generate_viewcells.env
|
---|
25 | LOG_PREFIX=$SCENE
|
---|
26 |
|
---|
27 | echo "starting $TARGET mode for $SCENE scene ($PROGRAM)"
|
---|
28 |
|
---|
29 | SCENE_FILENAME=$SCENE_PATH/$SCENE.$EXT
|
---|
30 |
|
---|
31 |
|
---|
32 | #######################################################
|
---|
33 |
|
---|
34 | NODES=4000
|
---|
35 | VIEWCELLS=5000
|
---|
36 |
|
---|
37 | USE_HEUR=false
|
---|
38 | OBJ_WEIGHT=20
|
---|
39 |
|
---|
40 | SAMPLES=1000000
|
---|
41 |
|
---|
42 | METHOD=$VIEWCELLS
|
---|
43 |
|
---|
44 | echo "$SCENE $METHOD"
|
---|
45 | $PROGRAM $ENVIRONMENT \
|
---|
46 | -scene_filename=$SCENE_FILENAME \
|
---|
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 | -view_cells_triangle_weight=1.0 \
|
---|
55 | -view_cells_object_weight=$OBJ_WEIGHT \
|
---|
56 | -vsp_use_cost_heuristics=$USE_HEUR \
|
---|
57 | -bvh_term_max_leaves=$NODES \
|
---|
58 | -vsp_term_max_view_cells=$VIEWCELLS \
|
---|
59 | -hierarchy_construction_samples=$SAMPLES
|
---|
60 |
|
---|
61 | sh movefiles.sh $LOG_PREFIX-$METHOD
|
---|
62 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.