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

Revision 728, 7.9 KB checked in by mattausch, 18 years ago (diff)

added histogram (not tested)
last version before updating render cost evaluation

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 {
[728]179                samples 1000000
[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
[728]201
202        renderCostEvaluationType perobject
203        #renderCostEvaluationType pertriangle
204
[564]205        pruneEmptyViewCells false
206        processOnlyValidViewCells false
[660]207
[666]208        #stats viewCellStats.log
[660]209
210        samplingType directional
[666]211        #samplingType box
[660]212
[478]213        PostProcess {
[445]214                # how much samples are used for post processing
[551]215                samples 300000
[587]216                renderCostWeight 1.0
[580]217                maxCostRatio 0.1
[581]218                minViewCells 1
[600]219                avgCostMaxDeviation 0.01
[612]220                maxMergesPerPass 5000
[580]221                useRaysForMerge false
[587]222                refine false
[654]223                compress false
[685]224                merge true
[378]225        }
226
[445]227        Visualization {
[490]228                # how much samples we use for visualization
[574]229                samples 100000
[551]230                #colorCode PVS
[482]231                #colorCode MergedLeaves
232                #colorCode MergedTreeDiff
[551]233                colorCode Random
[491]234                exportRays false
[685]235                exportGeometry true
[580]236                exportMergedViewCells false
[662]237                useClipPlane true
238                clipPlaneAxis 1
[685]239                clipPlanePos 0.35
[445]240        }
[664]241
[697]242        Filter {
243                width 10.0
244                maxSize 4
245        }
246
[728]247        showVisualization false
[666]248        evaluateViewCells false
[378]249       
[662]250        Evaluation {
[666]251                samplesPerPass 800000
[728]252                samples 800000
[666]253                statsPrefix ../scripts/viewCells
[662]254        }
[664]255
[319]256#       filename ../data/atlanta/atlanta_viewcells_large.x3d
[485]257#       filename ../data/vienna/viewcells-25-sel.x3d
[361]258#       filename ../data/vienna/viewcells-25.x3d
[310]259#       filename ../data/vienna/viewcells-large-sel.x3d
[540]260#       filename ../scripts/viewcells_vienna.xml
261        filename ../scripts/viewcells_atlanta.xml
[310]262}
[308]263
[310]264
[406]265Simulation {
266        objRenderCost 1.0
[480]267        vcOverhead 1.0
[479]268        # always between 0 and 1
[480]269        moveSpeed 0.0001
[409]270}
271
272
273VspKdTree {
274        epsilon         1e-6
275
[411]276        Construction {
[542]277                samples 500000
[411]278        }
[409]279       
[411]280        Termination {
[444]281                maxDepth                40
[587]282                minPvs                  0
283                minRays                 1
[503]284                minSize                 0.001
[587]285                maxCostRatio            5.9
286                maxViewCells            169
[485]287                missTolerance           4
[587]288                maxRayContribution      2.5
[411]289        }
290       
[485]291        maxTotalMemory  100
[542]292        maxStaticMemory 40
[409]293
[430]294        splitType       regular
295        #splitType      heuristics
[587]296        splitUseOnlyDrivingAxis true
[409]297        ct_div_ci       0.0
[462]298       
299        # maximal cost for merging a view cell
[465]300        PostProcess {
[482]301                maxCostRatio 0.005
[587]302                minViewCells 10000
[568]303                maxPvsSize   5000
[465]304        }
[469]305       
306       
307        Visualization {
308        }
[445]309}
310
311VspBspTree {
312        Construction {
[728]313                samples 50000
[685]314                epsilon 0.00005
[490]315                randomize false
[590]316                renderCostWeight 1.0
[445]317        }
318
319
320        # random polygon       = 1
321        # axis aligned         = 2
322        # least ray splits     = 256
323        # balanced rays        = 512
324        # pvs                  = 1024
325       
[654]326        splitPlaneStrategy 1026
[508]327       
[445]328        # maximal candidates for split planes
[666]329        maxPolyCandidates 150
[591]330
[612]331        usePolygonSplitIfAvailable false
[666]332
[445]333        # maximal tested rays for split cost heuristics
[607]334        maxTests 10000
[445]335       
[542]336        maxTotalMemory  50
337        maxStaticMemory 50
[660]338
[666]339        subdivisionStats ../subdivisionStats.log
340
[445]341        # factors for evaluating split plane costs
342        Factor {
343                leastRaySplits 1.0
344                balancedRays 1.0
345                pvs 1.0
346        }
347       
348        Termination {
349                # parameters used for autopartition
[612]350                minRays                 -15
[472]351                minPolygons             -1
[607]352                maxDepth                25
[612]353                minPvs                  -15
354                minProbability          0.00000001
355                maxRayContribution      1.8
356                maxCostRatio            1.8
357                missTolerance           6
[654]358                globalCostMissTolerance 4
359                minGlobalCostRatio      0.0000001
[656]360#               minGlobalCostRatio      0.0001
[685]361                maxViewCells            10000
[656]362       
[655]363
[445]364                # used for pvs criterium
365                ct_div_ci 0.0
[508]366               
367                AxisAligned {
[728]368                        minRays                 5000
[595]369                        maxRayContribution      9.9
[508]370                }
[482]371        }
[445]372       
[666]373        useSplitCostQueue true
374        useCostHeuristics true
[656]375
[607]376        splitUseOnlyDrivingAxis false
[666]377        simulateOctree false
378        useRandomAxis false
[639]379        usePolygonSplitIfAvailable false
[666]380        useBreathFirstSplits false
[639]381
[445]382        Visualization {
383                # x3d visualization of the split planes
[600]384                exportSplits false
[473]385        }
386}
387
388BspTree {
389        Construction {
[666]390                samples 300000
[473]391                epsilon 0.005
392        }
393
394
395        # random polygon       = 1
396        # axis aligned         = 2
397        # least splits         = 4
398        # balanced polygons    = 8
399        # balanced view cells  = 16
400        # largest polygon area = 32
401        # vertical axis        = 64
402        # blocked rays         = 128
403        # least ray splits     = 256
404        # balanced rays        = 512
405        # pvs                  = 1024
406
407        # least splits + balanced polygons
408        #splitPlaneStrategy 12
409       
410        #axis aligned + vertical axis
411        #splitPlaneStrategy 66
412       
413        # axis aligned + balanced view cells
414        # splitPlaneStrategy 18
415       
416        # largest polygon area
417        #splitPlaneStrategy 32
418       
419        # axus aligned + balanced polygons
420        #splitPlaneStrategy 72
421       
422        # axis aligned + blocked rays
423        #splitPlaneStrategy 130
424       
425        #splitPlaneStrategy 384
426        #splitPlaneStrategy 130
427       
[586]428        splitPlaneStrategy 32
[473]429       
[586]430        maxPolyCandidates 100
431        maxRayCandidates 0
[473]432       
433        maxTests 10000
434       
[660]435        subdivisionStats ../subDivisionStats.log
436
[473]437        # factors for evaluating split plane costs
438        Factor {
439                verticalSplits 1.0
440                largestPolyArea 1.0
441                blockedRays 1.0
442                leastRaySplits 1.0
443                balancedRays 1.0
444                pvs 1.0
445                leastSplits 1.0
446                balancedPolys 1.0
447                balancedViewCells 1.0
448        }
449       
450        Termination {
451                # parameters used for autopartition
[646]452                minRays -1
[666]453                minPolygons 0
[587]454                maxDepth 30
455                minPvs -1
[646]456                minProbability 0.00001
[587]457                maxRayContribution 9999
[666]458                maxViewCells 20000
[587]459
[473]460                # used for pvs criterium
461                ct_div_ci 0.0
462       
463                maxCostRatio 0.9
464               
465                # axis aligned splits
466                AxisAligned {
467                        minPolys 5000
468                        minRays 500
469                        minObjects 10
470                        ct_div_ci 0.5
471                }
472        }
473       
474        AxisAligned {
475                splitBorder 0.01
476        }
477       
478       
479        Visualization {
480                # x3d visualization of the split planes
[644]481                exportSplits false
[445]482        }
[473]483}
Note: See TracBrowser for help on using the repository browser.