source: GTP/trunk/Lib/Vis/Preprocessing/scripts/default.env @ 697

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