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

Revision 2228, 813 bytes checked in by mattausch, 18 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
15NUM_SAMPLE_RAYS=200000000
16#NUM_SAMPLE_RAYS=50000000
17
18$PREPROCESSOR -total_samples=$NUM_SAMPLE_RAYS \
19-scene_filename=$1 -view_cells_filename=$2 -preprocessor_visibility_file=$3 \
20-preprocessor_ray_cast_method=1 \
21-samples_per_pass=1000000 \
22-view_cells_use_kd_pvs- -af_use_kd_pvs- \
23-mutation_silhouette_prob=0.5 \
24-mutation_reverse_samples_distance=1.0 \
25-mutation_radius_origin=0.5 \
26-mutation_radius_termination=0.2 \
27-mutation_use_unsucc_count_importance- \
28-mutation_use_pass_importance+ \
29-mutation_buffer_size=2000000 \
30preprocess_visibility.env
Note: See TracBrowser for help on using the repository browser.