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

Revision 884, 9.0 KB checked in by bittner, 18 years ago (diff)

Spatial visibility filter

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