Revision 2559,
837 bytes
checked in by mattausch, 17 years ago
(diff) |
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | PREPROCESSOR=../bin/release/preprocessor.exe |
---|
4 | #PREPROCESSOR=../bin/debug/preprocessor.exe |
---|
5 | |
---|
6 | if [ $# -ne 3 ] |
---|
7 | then |
---|
8 | echo "Usage:" |
---|
9 | echo "preprocess_visibility scene_file.x3d viewcells_file.xml output_file.xml" |
---|
10 | exit |
---|
11 | fi |
---|
12 | |
---|
13 | export PATH=$PATH:../bin |
---|
14 | |
---|
15 | #NUM_SAMPLE_RAYS=200000000 |
---|
16 | #NUM_SAMPLE_RAYS=30000000 |
---|
17 | NUM_SAMPLE_RAYS=5000000 |
---|
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=500000 \ |
---|
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 \ |
---|
31 | preprocess_visibility.env |
---|
Note: See
TracBrowser
for help on using the repository browser.