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

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

visibility filter updates

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