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