Revision 2228,
813 bytes
checked in by mattausch, 18 years ago
(diff) |
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[2075] | 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 | |
---|
[2199] | 15 | NUM_SAMPLE_RAYS=200000000 |
---|
[2228] | 16 | #NUM_SAMPLE_RAYS=50000000 |
---|
[2075] | 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 \ |
---|
[2211] | 22 | -view_cells_use_kd_pvs- -af_use_kd_pvs- \ |
---|
[2075] | 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 \ |
---|
| 30 | preprocess_visibility.env |
---|
Note: See
TracBrowser
for help on using the repository browser.