source: trunk/VUT/GtpVisibilityPreprocessor/scripts/default.env @ 562

Revision 562, 6.8 KB checked in by mattausch, 18 years ago (diff)
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-buildings.x3d;../data/vienna/vienna-roofs.x3d
13#;../data/vienna/vienna-plane.x3d
14#       filename ../data/vienna/viewcells-25-sel.x3d
15#       filename ../data/atlanta/atlanta2.x3d
16#       filename ../data/soda/soda.dat
17        filename ../data/soda/soda5.dat
18}
19
20Preprocessor {
21        # stored sample rays
22        samplesFilename rays.out
23        useGlRenderer false
24#       type sampling
25        type vss
26#       type rss
27        detectEmptyViewSpace true
28}
29
30VssPreprocessor {
31        samplesPerPass  100000
32        initialSamples 1800000
33        vssSamples 0
34        vssSamplesPerPass 500000
35        useImportanceSampling true
36        loadInitialSamples  false
37        storeInitialSamples false
38        useViewSpaceBox true
39#       testBeamSampling true
40}
41
42
43SamplingPreprocessor {
44        totalSamples 500000
45        samplesPerPass  3
46}
47
48
49VssTree {
50        useRss    false
51        epsilon         1e-6
52       
53        maxDepth        40
54        minPvs          30
55        minRays         800
56        minSize         0.001
57        maxCostRatio    1.5
58        maxRayContribution 0.5
59               
60        maxTotalMemory  50
61        maxStaticMemory 20
62       
63        splitType regular
64        #       splitType heuristic
65        #       splitType hybrid
66        splitUseOnlyDrivingAxis true
67       
68        interleaveDirSplits     true
69    dirSplitDepth 0
70       
71        numberOfEndPointDomains 10000
72        ct_div_ci       0.0
73        randomize       false
74       
75        refDirBoxMaxSize        0.1
76}
77
78RssPreprocessor {
79        samplesPerPass  100000
80        initialSamples 500000
81        vssSamples 10000000
82        vssSamplesPerPass 500000
83        useImportanceSampling true
84
85        directionalSampling true
86        objectBasedSampling false
87
88        Export {
89                pvs false
90                rssTree false
91                rays true
92                numRays 5000
93        }
94
95        useViewcells true
96        updateSubdivision true
97loadInitialSamples true
98        storeInitialSamples false
99}
100
101
102RssTree {
103
104        epsilon         1e-6
105
106        maxDepth        40
107        minPvs          3
108        minRays         30
109        minSize         0.001
110        maxCostRatio 1.0
111        maxRayContribution 0.5
112        maxRays         1000000
113        maxTotalMemory  200
114        maxStaticMemory 100
115
116#       splitType regular
117#       splitType heuristic
118        splitType hybrid
119        splitUseOnlyDrivingAxis true
120        importanceBasedCost false
121
122        interleaveDirSplits     true
123    dirSplitDepth 0
124
125        numberOfEndPointDomains 10000
126        ct_div_ci       0.0
127        randomize       false
128
129        refDirBoxMaxSize        0.1
130}
131
132Limits {
133
134       threshold        1e-6
135       small            1e-6
136       infinity         1e9
137}
138
139Unigraphics {
140                meshGrouping 1
141}
142
143KdTree {
144        sahUseFaces true
145        Termination {
146                minCost 1
147                maxDepth 18
148                maxCostRatio 0.9
149                ct_div_ci 0.5
150        }
151
152#       splitMethod spatialMedian
153        splitMethod SAH
154        splitBorder 0.01
155}
156
157MeshKdTree {
158        Termination {
159                minCost 1
160                maxDepth 18
161                maxCostRatio 0.9
162                ct_div_ci 0.5
163        }
164
165#       splitMethod spatialMedian
166        splitMethod SAH
167        splitBorder 0.01
168}
169
170
171
172ViewCells {
173        loadFromFile false
174        exportToFile true
175        #type kdTree
176        #type vspKdTree
177        type bspTree
178        type vspBspTree
179       
180        #type sceneDependent
181       
182        height 5.0
183        maxViewCells 3000
184        #percentage of total visible objects where pvs is considered invalid
185        maxPvsRatio 0.9
186               
187        delayedConstruction false
188               
189               
190        PostProcess {
191                # how much samples are used for post processing
192                samples 300000
193        }
194
195        Visualization {
196                # how much samples we use for visualization
197                samples 5000
198                #colorCode PVS
199                #colorCode MergedLeaves
200                #colorCode MergedTreeDiff
201                colorCode Random
202                exportRays false
203                exportGeometry true
204        }
205       
206#       filename ../data/atlanta/atlanta_viewcells_large.x3d
207#       filename ../data/vienna/viewcells-25-sel.x3d
208#       filename ../data/vienna/viewcells-25.x3d
209#       filename ../data/vienna/viewcells-large-sel.x3d
210#       filename ../scripts/viewcells_vienna.xml
211        filename ../scripts/viewcells_atlanta.xml
212}
213
214
215Simulation {
216        objRenderCost 1.0
217        vcOverhead 1.0
218        # always between 0 and 1
219        moveSpeed 0.0001
220}
221
222
223VspKdTree {
224        epsilon         1e-6
225
226        Construction {
227                samples 500000
228        }
229       
230        Termination {
231                maxDepth                40
232                minPvs                  50
233                minRays                 800
234                minSize                 0.001
235                maxCostRatio            0.9
236                missTolerance           4
237                maxRayContribution      0.5
238        }
239       
240        maxTotalMemory  100
241        maxStaticMemory 40
242
243        splitType       regular
244        #splitType      heuristics
245        splitUseOnlyDrivingAxis false
246        ct_div_ci       0.0
247       
248        # maximal cost for merging a view cell
249        PostProcess {
250                maxCostRatio 0.005
251                minViewCells 1000
252                maxPvsSize   50000
253        }
254       
255       
256        Visualization {
257        }
258}
259
260VspBspTree {
261        Construction {
262                samples 900000
263                epsilon 0.005
264                randomize false
265        }
266
267
268        # random polygon       = 1
269        # axis aligned         = 2
270        # least ray splits     = 256
271        # balanced rays        = 512
272        # pvs                  = 1024
273       
274        splitPlaneStrategy 1024
275       
276        # maximal candidates for split planes
277        maxPolyCandidates 100
278        #maxRayCandidates 100
279       
280        # maximal tested rays for split cost heuristics
281        maxTests 10000
282       
283        maxTotalMemory  50
284        maxStaticMemory 50
285       
286        # factors for evaluating split plane costs
287        Factor {
288                leastRaySplits 1.0
289                balancedRays 1.0
290                pvs 1.0
291        }
292       
293        Termination {
294                # parameters used for autopartition
295                minRays                 300
296                minPolygons             -1
297                maxDepth                30
298                minPvs                  10
299                #minProbability         0.0001
300                minProbability          -1
301                maxRayContribution      0.1
302                maxCostRatio            0.9
303                missTolerance           3
304                #maxAccRayLength        100
305               
306                maxViewCells            1000
307               
308                # used for pvs criterium
309                ct_div_ci 0.0
310               
311                AxisAligned {
312                        minRays                 4000
313                        maxRayContribution      0.5
314                }
315        }
316       
317        splitUseOnlyDrivingAxis false
318       
319        Visualization {
320                # x3d visualization of the split planes
321                exportSplits true
322        }
323       
324        PostProcess {
325                maxCostRatio 0.1
326                minViewCells 110
327                useRaysForMerge false
328        }
329}
330
331BspTree {
332        Construction {
333                samples 50000
334                epsilon 0.005
335        }
336
337
338        # random polygon       = 1
339        # axis aligned         = 2
340        # least splits         = 4
341        # balanced polygons    = 8
342        # balanced view cells  = 16
343        # largest polygon area = 32
344        # vertical axis        = 64
345        # blocked rays         = 128
346        # least ray splits     = 256
347        # balanced rays        = 512
348        # pvs                  = 1024
349
350        # least splits + balanced polygons
351        #splitPlaneStrategy 12
352       
353        #axis aligned + vertical axis
354        #splitPlaneStrategy 66
355       
356        # axis aligned + balanced view cells
357        # splitPlaneStrategy 18
358       
359        # largest polygon area
360        #splitPlaneStrategy 32
361       
362        # axus aligned + balanced polygons
363        #splitPlaneStrategy 72
364       
365        # axis aligned + blocked rays
366        #splitPlaneStrategy 130
367       
368        #splitPlaneStrategy 384
369        #splitPlaneStrategy 130
370       
371        splitPlaneStrategy 1024
372       
373        maxPolyCandidates 50
374        maxRayCandidates 50
375       
376        maxTests 10000
377       
378        # factors for evaluating split plane costs
379        Factor {
380                verticalSplits 1.0
381                largestPolyArea 1.0
382                blockedRays 1.0
383                leastRaySplits 1.0
384                balancedRays 1.0
385                pvs 1.0
386                leastSplits 1.0
387                balancedPolys 1.0
388                balancedViewCells 1.0
389        }
390       
391        Termination {
392                # parameters used for autopartition
393                minRays 200
394                minPolygons -1
395                maxDepth 40
396                minPvs 100
397                minArea 0.01
398                maxRayContribution 0.005
399                #maxAccRayLength 100
400               
401                # used for pvs criterium
402                ct_div_ci 0.0
403       
404                maxCostRatio 0.9
405               
406                # axis aligned splits
407                AxisAligned {
408                        minPolys 5000
409                        minRays 500
410                        minObjects 10
411                        ct_div_ci 0.5
412                }
413        }
414       
415        AxisAligned {
416                splitBorder 0.01
417        }
418       
419       
420        Visualization {
421                # x3d visualization of the split planes
422                exportSplits true
423        }
424}
Note: See TracBrowser for help on using the repository browser.