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

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

added scripts for gvs preprocessor

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        # samples used for view cell construction
129        # (after the sampling used for the hierarchy)
130        Construction {
131                samples 0
132                samplesPerPass 1000000
133        }
134
135        # number of active view cells
136        active 25000
137        maxStaticMemory 40
138
139        exportToFile true
140        loadFromFile false
141
142        exportPvs true
143        type vspOspTree
144       
145        #percentage of total visible objects where pvs is considered invalid
146        maxPvsRatio 1.0
147               
148        processOnlyValidViewCells false
149
150        #stats viewCellStats.log
151        #samplingType directional
152        #samplingType reverse_object
153        samplingType box
154
155        PostProcess {
156                # how much samples are used for post processing
157                samples 0
158                maxMergesPerPass 5000
159                useRaysForMerge false
160                refine false
161                compress true
162                merge false
163        }
164
165        Visualization {
166                # how much samples we use for visualization
167                samples 1000
168                exportRays true
169                exportGeometry true
170                exportMergedViewCells false
171                useClipPlane true
172                clipPlaneAxis 1
173                clipPlanePos 0.3
174                maxOutput 2
175        }
176
177        showVisualization true
178        #evaluateiewCells true
179        #showVisualization false
180        evaluateViewCells true
181       
182        Evaluation {
183                samples         300000
184                samplesForStats 300000
185                samplesPerPass  300000
186
187                stepSize 50
188               
189                #samplingType reverse_object
190                samplingType box
191                statsPrefix ../scripts/viewCells
192        }
193}
194
195
196################################
197#
198# View space partitioning kd tree
199#
200
201VspTree {
202        Construction {
203        }
204
205        Termination {
206                minPvs 0
207                maxViewCells 500000
208        }
209
210        useCostHeuristics false
211        splitUseOnlyDrivingAxis false
212
213        # maximum number of tests per node
214        maxTests 30000
215}
216
217
218##########################
219#
220# The bounding volume hierarchy
221#
222
223BvHierarchy {
224
225        Construction {
226               
227        }
228
229        Termination {
230                maxLeaves 500000
231        }
232
233        useCostHeuristics true
234        useSah true
235        splitUseOnlyDrivingAxis false
236        minRaysForVisibility 3
237
238        maxTests 300
239}
240
241
242###############################################################
243#
244# Manages the construction of view space and object space partition
245#
246
247Hierarchy {
248
249        # the type of object space partition: view space is always vsp (=kd) partition
250        type bvh
251       
252        Construction {
253
254                samples 30000
255
256                # type 0 = sequential computation, 1 = interleaved, 2 = gradient
257                type 0
258
259                # if the object space should be subdivided first (if false, the view space is subdivided first)
260                startWithObjectSpace true
261
262                ###############################
263                # only for interleaved method
264
265                # if dirty split candidates are reevaluated
266                repairQueue true
267
268                # recompute split plane when "repairing" a candidate
269                recomputeSplitPlaneOnRepair true
270
271                ###################################################
272
273                # iterative construction of vs partititon and os partition
274                useMultiLevel false
275
276                # number of iteration steps
277                levels 3
278
279                # minimal steps of same type: for interleaved, this is only valid for the first few splits
280                minStepsOfSameType 10
281                maxStepsOfSameType 50
282
283                maxRepairs 10
284        }
285
286        Termination {
287                # maximal number of leaves
288                maxLeaves 4000
289                # maximal memory in MB
290                maxMemory 0.1
291                # minimum ratio of global cost decrease
292                minGlobalCostRatio -1
293        }
294}
295
296
297VspBspTree {
298        Construction {
299                samples 100000
300        }
301
302        Termination {
303                minPvs 0
304                maxViewCells 1000
305        }
306
307        useCostHeuristics true
308        splitUseOnlyDrivingAxis false
309
310        # maximum number of tests per node
311        maxTests 100000
312}
Note: See TracBrowser for help on using the repository browser.