source: GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.sh @ 2073

Revision 2073, 1.5 KB checked in by mattausch, 18 years ago (diff)
  • Property svn:executable set to *
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=vienna_cropped
12LOG_PREFIX=../scripts/$SCENE
13ENVIRONMENT=generate_viewcells.env
14
15echo "starting $TARGET mode for $SCENE scene"
16
17############################################################################
18
19#  METHOD=interleaved
20#  echo "$SCENE $METHOD"
21
22#  $PROGRAM $ENVIRONMENT \
23#  -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
24#   -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
25#   -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
26#   -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
27#   -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
28#   -hierarchy_construction_type=2 \
29#   -hierarchy_construction_consider_memory=true
30
31############################################################################
32
33  echo "$SCENE $METHOD"
34
35  $PROGRAM $ENVIRONMENT \
36  -view_cells_filename=$LOG_PREFIX-viewcells.xml.gz \
37   -view_cells_merge_stats=$LOG_PREFIX-mergeStats.log \
38   -vsp_subdivision_stats=$LOG_PREFIX-vsp-subdivisionStats.log \
39   -bvh_subdivision_stats=$LOG_PREFIX-bvh-subdivisionStats.log \
40   -hierarchy_subdivision_stats=$LOG_PREFIX-hierarchy-subdivisionStats.log \
41   -hierarchy_construction_type=0 \
42   -hierarchy_construction_consider_memory=true
43
44#   -bvh_term_max_leaves=10000 \
45#   -hierarchy_term_max_leaves=20000
Note: See TracBrowser for help on using the repository browser.