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

Revision 2075, 1.4 KB checked in by bittner, 17 years ago (diff)

preprocess visibility scripts update

Line 
1#!/bin/sh
2
3PROGRAM=../bin/release/Preprocessor.exe
4#PROGRAM=../bin/Debug/Preprocessor.exe
5
6
7
8#SCENE=soda5
9#SCENE=soda
10#SCENE=cube
11#SCENE=atlanta
12SCENE=generate_viewcells
13
14LOG_PREFIX=../scripts/soda
15
16ENVIRONMENT=$SCENE.env
17
18
19###############################################
20
21METHOD=avs
22echo "$SCENE $METHOD"
23
24$PROGRAM $ENVIRONMENT \
25-view_cells_type=vspOspTree \
26-view_cells_construction_samples=0 \
27-vsp_bsp_construction_samples=500000 \
28-vsp_bsp_term_max_view_cells=1000 \
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 \
33-view_cells_active=5000 \
34-view_cells_filename=$LOG_PREFIX-viewcells.xml.gz \
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 \
45-view_cells_evaluation_samples_per_pass=1000000
46
47
48mv debug.log $LOG_PREFIX-$METHOD-debug.log
49mv merged_view_cells.wrl $LOG_PREFIX-$METHOD-merged_view_cells.wrl
50mv merged_view_cells_pvs.wrl $LOG_PREFIX-$METHOD-merged_view_cells_pvs.wrl
51mv final_view_cells.x3d $LOG_PREFIX-$METHOD-final_view_cells.x3d
Note: See TracBrowser for help on using the repository browser.