source: GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells @ 977

Revision 977, 1.4 KB checked in by mattausch, 19 years ago (diff)
Line 
1#!/bin/sh
2PROGRAM=../bin/release/Preprocessor.exe
3
4
5
6#SCENE=soda5
7#SCENE=soda
8#SCENE=cube
9#SCENE=atlanta
10SCENE=generate_viewcells
11
12LOG_PREFIX=../scripts/vienna
13
14ENVIRONMENT=$SCENE.env
15
16
17###############################################
18
19METHOD=avs
20echo "$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-vsp_bsp_node_queue_type=2
45
46
47mv debug.log $LOG_PREFIX-$METHOD-debug.log
48mv merged_view_cells.wrl $LOG_PREFIX-$METHOD-merged_view_cells.wrl
49mv merged_view_cells_pvs.wrl $LOG_PREFIX-$METHOD-merged_view_cells_pvs.wrl
50mv final_view_cells.x3d $LOG_PREFIX-$METHOD-final_view_cells.x3d
Note: See TracBrowser for help on using the repository browser.