source: GTP/trunk/Lib/Vis/Preprocessing/src/run_test_pixel @ 2627

Revision 2627, 4.7 KB checked in by bittner, 17 years ago (diff)

commit before merge with vlastimil

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3
4#COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+"
5COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -samples_per_pass=500000 -samples_per_evaluation=10000000 -total_samples=500000000"
6
7#SCENE="../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d"
8#VIEWCELLS=../data/vienna/vienna-viewcells-5000.xml
9
10
11#SCENE=../data/soda/soda.obj
12#VIEWCELLS=../data/soda/soda5-viewcells-1000.xml
13#VIEWCELLS=../data/soda/soda5-viewcells-single.xml
14
15#SCENE=../data/PowerPlant/selection.plb
16#VIEWCELLS=../data/PowerPlant/power_plant_viewcells1.xml
17
18#SCENE=../data/soda/soda5.dat
19#VIEWCELLS=../data/soda/soda-viewcells-5000.xml
20#VIEWCELLS=../data/soda/soda5-viewcells.xml
21#VIEWCELLS=../data/soda/soda5-viewcells-single.xml
22
23#SCENE=../data/artificial/city.x3d
24#VIEWCELLS=../data/soda/soda5-viewcells2.xml
25#VIEWCELLS=../data/artificial/city-viewcells-1000.xml
26
27#SCENE=../data/test1/test2.x3d
28#VIEWCELLS=../data/test1/test-viewcells.xml
29
30SCENE=../data/vienna/vienna_cropped.obj
31VIEWCELLS=../data/vienna/vienna_cropped-gradient-viewcells.xml.gz
32
33# view cells used for pixel error measurement
34#VIEWCELLS=../data/vienna/vienna-seq-viewcells-20000.xml.gz
35
36PREFIX=../work/plots/osp-PIXEL3-1e5
37
38#SCENE=../data/atlanta/atlanta2.x3d
39#PREFIX=../work/plots/atlanta2-rss9
40
41
42$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
43-rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \
44-view_cells_use_kd_pvs+ -af_use_kd_pvs- \
45-preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4k.xml \
46-preprocessor_stats=$PREFIX-i-mixed-b1-n4k.log \
47-preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4k.hlog
48
49
50$COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
51-preprocessor_visibility_file=$PREFIX-r-reference.xml \
52-view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \
53-preprocessor_histogram_file=$PREFIX-r-reference.hlog
54
55# $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
56#  -rss_distributions=direction -view_cells_filter_max_size=1 \
57#  -preprocessor_visibility_file=$PREFIX-r-reference-global.xml \
58#  -preprocessor_stats=$PREFIX-r-reference-global.log \
59#  -preprocessor_histogram_file=$PREFIX-r-reference-global.hlog
60
61
62# $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
63# -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \
64# -view_cells_use_kd_pvs- -af_use_kd_pvs+ \
65# -preprocessor_visibility_file=$PREFIX-i-mixed-bvh-n4k.xml \
66# -preprocessor_stats=$PREFIX-i-mixed-bvh-n4k.log \
67# -preprocessor_histogram_file=$PREFIX-i-mixed-bvh-n4k.hlog
68
69# $COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
70# -view_cells_use_kd_pvs- -af_use_kd_pvs+ \
71# -preprocessor_visibility_file=$PREFIX-r-bvh-reference.xml \
72# -view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-bvh-reference.log \
73# -preprocessor_histogram_file=$PREFIX-r-bvh-reference.hlog
74
75# $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
76# -view_cells_use_kd_pvs- -af_use_kd_pvs+ \
77#  -rss_distributions=direction -view_cells_filter_max_size=1 \
78#  -preprocessor_visibility_file=$PREFIX-r-bvh-reference-global.xml \
79#  -preprocessor_stats=$PREFIX-r-bvh-reference-global.log \
80#  -preprocessor_histogram_file=$PREFIX-r-bvh-reference-global.hlog
81
82
83
84#############
85#############
86#############
87#############
88#############
89
90
91
92# $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
93#  -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \
94#  -view_cells_use_kd_pvs- -af_use_kd_pvs- \
95#  -preprocessor_visibility_file=$PREFIX-i-mixed-bvh-n4i.xml \
96#  -preprocessor_stats=$PREFIX-i-mixed-bvh-n4i.log \
97#  -preprocessor_histogram_file=$PREFIX-i-mixed-bvh-n4i.hlog
98
99
100
101#$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
102# -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \
103# -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4i.xml \
104# -preprocessor_stats=$PREFIX-i-mixed-b1-n4i.log \
105# -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4i.hlog
106
107
108# e - no origin mutation, silh. tm Q=2, reverse samples
109# f - no origin, q=2, no reverse samples
110# g - gaussian origin, q=2, reverse samples
111
112# g, h contain pvs error estimations...
113
114# $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \
115# -rss_distributions=rss+object_direction+spatial+object+direction -view_cells_filter_max_size=1 \
116# -preprocessor_stats=$PREFIX-i-mixed-b1-n2.log \
117# -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n2.hlog
118
119
120
Note: See TracBrowser for help on using the repository browser.