source: GTP/trunk/Lib/Vis/Preprocessing/src/default.env @ 713

Revision 713, 8.0 KB checked in by bittner, 18 years ago (diff)

visibility filter used in glrenderer

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