1 | #!/bin/sh |
---|
2 | PROGRAM=../bin/release/Preprocessor.exe |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | #SCENE=soda5 |
---|
7 | #SCENE=soda |
---|
8 | #SCENE=cube |
---|
9 | #SCENE=atlanta |
---|
10 | SCENE=generate_viewcells |
---|
11 | |
---|
12 | LOG_PREFIX=../scripts/vienna |
---|
13 | |
---|
14 | ENVIRONMENT=$SCENE.env |
---|
15 | |
---|
16 | |
---|
17 | ############################################### |
---|
18 | |
---|
19 | METHOD=avs |
---|
20 | echo "$SCENE $METHOD" |
---|
21 | |
---|
22 | $PROGRAM $ENVIRONMENT \ |
---|
23 | -view_cells_type=vspBspTree \ |
---|
24 | -view_cells_construction_samples=0 \ |
---|
25 | -vsp_bsp_construction_samples=500000 \ |
---|
26 | -vsp_bsp_term_max_view_cells=1000 \ |
---|
27 | -view_cells_evaluation_stats_prefix=$LOG_PREFIX-$METHOD \ |
---|
28 | -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \ |
---|
29 | -vsp_bsp_subdivision_stats=$LOG_PREFIX-$METHOD-subdivisionStats.log \ |
---|
30 | -view_cells_post_process_merge=false \ |
---|
31 | -view_cells_active=400 \ |
---|
32 | -view_cells_filename=$LOG_PREFIX-visibility.xml.zip \ |
---|
33 | -view_cells_export_pvs=true \ |
---|
34 | -view_cells_export_bounding_boxes=true \ |
---|
35 | -vsp_bsp_term_min_pvs=0 \ |
---|
36 | -view_cells_evaluate=false \ |
---|
37 | -vsp_bsp_use_cost_heuristics=true \ |
---|
38 | -vsp_bsp_max_poly_candidates=0 \ |
---|
39 | -vsp_bsp_use_split_cost_queue=true \ |
---|
40 | -view_cells_show_visualization=true \ |
---|
41 | -view_cells_construction_samples=0 \ |
---|
42 | -view_cells_evaluation_samples=2000000 \ |
---|
43 | -view_cells_evaluation_samples_per_pass=1000000 |
---|
44 | |
---|
45 | |
---|
46 | mv debug.log $LOG_PREFIX-$METHOD-debug.log |
---|
47 | mv merged_view_cells.wrl $LOG_PREFIX-$METHOD-merged_view_cells.wrl |
---|
48 | mv merged_view_cells_pvs.wrl $LOG_PREFIX-$METHOD-merged_view_cells_pvs.wrl |
---|
49 | mv final_view_cells.x3d $LOG_PREFIX-$METHOD-final_view_cells.x3d |
---|