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

Revision 1982, 1.5 KB checked in by mattausch, 17 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#  METHOD=fast
34#  echo "$SCENE $METHOD"
35
36#  $PROGRAM $ENVIRONMENT \
37#  -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
38#   -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
39#   -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
40#   -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
41#   -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
42#   -hierarchy_construction_type=0 \
43#   -hierarchy_construction_consider_memory=true \
44#   -bvh_term_max_leaves=10000 \
45#   -hierarchy_term_max_leaves=20000
Note: See TracBrowser for help on using the repository browser.