source: GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocess_visibility_internal.sh @ 2544

Revision 2544, 836 bytes checked in by mattausch, 17 years ago (diff)
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3PREPROCESSOR=../bin/release/preprocessor.exe
4#PREPROCESSOR=../bin/debug/preprocessor.exe
5
6if [ $# -ne 3 ]
7then
8    echo "Usage:"
9        echo "preprocess_visibility scene_file.x3d viewcells_file.xml output_file.xml"
10    exit
11fi
12
13export PATH=$PATH:../bin
14
15#NUM_SAMPLE_RAYS=200000000
16NUM_SAMPLE_RAYS=30000000
17#NUM_SAMPLE_RAYS=10000
18
19$PREPROCESSOR -total_samples=$NUM_SAMPLE_RAYS \
20-scene_filename=$1 -view_cells_filename=$2 -preprocessor_visibility_file=$3 \
21-preprocessor_ray_cast_method=1 \
22-samples_per_pass=1000000 \
23-view_cells_use_kd_pvs+ -af_use_kd_pvs+ \
24-mutation_silhouette_prob=0.5 \
25-mutation_reverse_samples_distance=1.0 \
26-mutation_radius_origin=0.5 \
27-mutation_radius_termination=0.2 \
28-mutation_use_unsucc_count_importance- \
29-mutation_use_pass_importance+ \
30-mutation_buffer_size=2000000 \
31preprocess_visibility.env
Note: See TracBrowser for help on using the repository browser.