source: GTP/trunk/Lib/Vis/Preprocessing/scripts/gvs.env @ 2625

Revision 2625, 5.3 KB checked in by mattausch, 16 years ago (diff)

added new view cell
deleted other view cell generation stuff (please use generate_viewcells.sh script)
added visualizaton method for gvs

Line 
1##############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7
8#       filename glasgow1.x3d
9#       filename vienna.x3d
10#       filename ../data/vienna/vienna-simple.x3d
11#       filename ../data/vienna/vienna-buildings.x3d
12#       filename ../data/vienna/vienna-roofs.x3d
13#       filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d
14#;../data/vienna/vienna-plane.x3d
15#       filename ../data/vienna/viewcells-25-sel.x3d
16#       filename ../data/atlanta/atlanta2.x3d
17#       filename ../data/soda/soda.dat
18#       filename ../data/soda/soda5.dat
19#       filename ../data/soda/soda5.obj
20#       filename ../data/soda/soda.obj
21        filename ../data/vienna/vienna_cropped.obj
22#       filename ../data/soda/soda5_mod_spheres.obj
23#       filename ../data/artificial/cube_test.x3d
24#       filename ../data/grandcanyon1_RotXmin90.obj
25#       filename ../data/CityModel.obj
26}
27
28
29Preprocessor {
30        samplesFilename rays.out
31#       useGlRenderer true
32        useGlRenderer false
33        type vss
34        detectEmptyViewSpace true
35        loadMeshes false
36        # internal raycaster
37        #rayCastMethod 0
38        # intel raycaster
39        rayCastMethod 1
40        exportVisibility false
41        applyVisibilityFilter false
42        applyVisibilitySpatialFilter false
43#       useViewSpaceBox true
44}
45
46
47VssPreprocessor {
48        useImportanceSampling true
49        loadInitialSamples  false
50        storeInitialSamples false
51}
52
53
54VssTree {
55        useRss    false
56        epsilon         1e-6
57       
58        maxDepth        2
59        minPvs          30
60        minRays         800
61        minSize         0.001
62        maxCostRatio    1.5
63        maxRayContribution 0.5
64               
65        maxTotalMemory  50
66        maxStaticMemory 20
67       
68        splitType regular
69        #       splitType heuristic
70        #       splitType hybrid
71        splitUseOnlyDrivingAxis true
72       
73        interleaveDirSplits     true
74    dirSplitDepth 0
75       
76        numberOfEndPointDomains 10000
77        ct_div_ci       0.0
78        randomize       false
79       
80        refDirBoxMaxSize        0.1
81}
82
83
84Limits {
85       threshold        1e-6
86       small            1e-6
87       infinity         1e9
88}
89
90
91Unigraphics {
92        meshGrouping 1
93}
94
95
96KdTree {
97        sahUseFaces true
98
99        Termination {
100                minCost 0
101                maxDepth 20
102               
103                maxCostRatio 1.5
104                ct_div_ci 0.5
105        }
106
107#       splitMethod spatialMedian
108        splitMethod SAH
109        splitBorder 0.01
110}
111
112MeshKdTree {
113        Termination {
114                minCost 1
115                maxDepth 18
116                maxCostRatio 0.9
117                ct_div_ci 0.5
118        }
119
120#       splitMethod spatialMedian
121        splitMethod SAH
122        splitBorder 0.01
123}
124
125
126ViewCells {
127       
128        useKdPvs true
129
130        # samples used for view cell construction
131        # (after the sampling used for the hierarchy)
132        Construction {
133                samples 0
134                samplesPerPass 1000000
135        }
136
137        # number of active view cells
138        active 25000
139        maxStaticMemory 40
140
141        exportToFile true
142        loadFromFile false
143
144        exportPvs true
145        type vspOspTree
146       
147        #percentage of total visible objects where pvs is considered invalid
148        maxPvsRatio 1.0
149               
150        processOnlyValidViewCells false
151
152        #stats viewCellStats.log
153        #samplingType directional
154        #samplingType reverse_object
155        samplingType box
156
157        PostProcess {
158                # how much samples are used for post processing
159                samples 0
160                maxMergesPerPass 5000
161                useRaysForMerge false
162                refine false
163                compress true
164                merge false
165        }
166
167        Visualization {
168                # how much samples we use for visualization
169                samples 1000
170                exportRays true
171                exportGeometry true
172                exportMergedViewCells false
173                useClipPlane true
174                clipPlaneAxis 1
175                clipPlanePos 0.3
176                maxOutput 2
177        }
178
179        showVisualization true
180        #evaluateiewCells true
181        #showVisualization false
182        evaluateViewCells true
183       
184        Evaluation {
185                samples         300000
186                samplesForStats 300000
187                samplesPerPass  300000
188
189                stepSize 50
190               
191                #samplingType reverse_object
192                samplingType box
193                statsPrefix ../scripts/viewCells
194        }
195}
196
197
198################################
199#
200# View space partitioning kd tree
201#
202
203VspTree {
204        Construction {
205        }
206
207        Termination {
208                minPvs 0
209                maxViewCells 500000
210        }
211
212        useCostHeuristics false
213        splitUseOnlyDrivingAxis false
214
215        # maximum number of tests per node
216        maxTests 30000
217}
218
219
220##########################
221#
222# The bounding volume hierarchy
223#
224
225BvHierarchy {
226
227        Construction {
228               
229        }
230
231        Termination {
232                maxLeaves 500000
233        }
234
235        useCostHeuristics true
236        useSah true
237        splitUseOnlyDrivingAxis false
238        minRaysForVisibility 3
239
240        maxTests 300
241}
242
243
244###############################################################
245#
246# Manages the construction of view space and object space partition
247#
248
249Hierarchy {
250
251        # the type of object space partition: view space is always vsp (=kd) partition
252        type bvh
253       
254        Construction {
255
256                samples 30000
257
258                # type 0 = sequential computation, 1 = interleaved, 2 = gradient
259                type 0
260
261                # if the object space should be subdivided first (if false, the view space is subdivided first)
262                startWithObjectSpace true
263
264                ###############################
265                # only for interleaved method
266
267                # if dirty split candidates are reevaluated
268                repairQueue true
269
270                # recompute split plane when "repairing" a candidate
271                recomputeSplitPlaneOnRepair true
272
273                ###################################################
274
275                # iterative construction of vs partititon and os partition
276                useMultiLevel false
277
278                # number of iteration steps
279                levels 3
280
281                # minimal steps of same type: for interleaved, this is only valid for the first few splits
282                minStepsOfSameType 10
283                maxStepsOfSameType 50
284
285                maxRepairs 10
286        }
287
288        Termination {
289                # maximal number of leaves
290                maxLeaves 4000
291                # maximal memory in MB
292                maxMemory 0.1
293                # minimum ratio of global cost decrease
294                minGlobalCostRatio -1
295        }
296}
297
298
299VspBspTree {
300        Construction {
301                samples 100000
302        }
303
304        Termination {
305                minPvs 0
306                maxViewCells 1000
307        }
308
309        useCostHeuristics true
310        splitUseOnlyDrivingAxis false
311
312        # maximum number of tests per node
313        maxTests 100000
314}
Note: See TracBrowser for help on using the repository browser.