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

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

fixed double counting of sample contributions - important for proper importance sampling with directional focus

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