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

Revision 2530, 1.5 KB checked in by mattausch, 17 years ago (diff)
  • Property svn:executable set to *
RevLine 
[1456]1#!/bin/sh
2
[1744]3# add bin to path
4export PATH=../bin:$PATH
[1456]5
[1744]6#TARGET=debug
7TARGET=release
[1456]8
[1744]9PROGRAM=../bin/$TARGET/Preprocessor.exe
[1456]10
[2066]11SCENE=vienna_cropped
[1744]12LOG_PREFIX=../scripts/$SCENE
[1456]13ENVIRONMENT=generate_viewcells.env
14
[1744]15echo "starting $TARGET mode for $SCENE scene"
[1456]16
[2072]17############################################################################
[1456]18
[2072]19#  METHOD=interleaved
20#  echo "$SCENE $METHOD"
[1456]21
[2072]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
[1982]30
[2072]31############################################################################
[1982]32
[2072]33  echo "$SCENE $METHOD"
[1982]34
[2072]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 \
[2530]42   -hierarchy_construction_consider_memory=false
[2064]43
[2072]44#   -bvh_term_max_leaves=10000 \
[2073]45#   -hierarchy_term_max_leaves=20000
Note: See TracBrowser for help on using the repository browser.