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

Revision 1715, 9.6 KB checked in by bittner, 18 years ago (diff)

new visibility filter support

RevLine 
[811]1############################################################################
[163]2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
[170]5
6Scene {
7
[1694]8#filename ../data/Arena/arena-low-lods.obj
9# filename ../data/Arena/arena-high-lods.obj
[1585]10# filename ../data/City4M/City4M.obj
[1608]11# filename ../data/CityModel/CityModel.obj
[1272]12# filename ../data/GrandCanyon/grandcanyon1_RotXmin90.obj
[534]13# filename ../data/glasgow/glasgow1.x3d
[311]14#       filename vienna.x3d
[1594]15# filename ../data/vienna/vienna-simple.x3d
[1387]16# filename ../data/vienna/vienna-buildings.x3d
[1613]17#filename ../data/vienna/city1500_flat_1.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d
[1694]18#filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d
[1715]19#filename ../data/vienna/vienna.obj
[1585]20
[1715]21filename ../data/vienna/vienna-buildings_vienna-roofs_vienna-roads_vienna-plane_cropped.obj
22
[365]23# filename ../data/vienna/viewcells-25-sel.x3d
[871]24#filename ../data/atlanta/atlanta2.x3d
[1694]25#filename ../data/soda/soda.dat
[1199]26#filename ../data/test1/test2.x3d
[1112]27#filename ../data/soda/soda5.dat
[811]28#filename ../data/PowerPlant/ppsection1/part_a/g0.ply
29#filename ../data/PowerPlant/ppsection1/part_b/g0.ply
30#filename ../data/PowerPlant/ppsection1.plb
31#filename ../data/PowerPlant/all.plb
32#filename ../data/PowerPlant/selection3.plb
33#filename ../data/PowerPlant/section10.plb;../data/PowerPlant/section14.plb
[1199]34#filename ../data/PowerPlant/selection.plb
[811]35#filename ../data/PowerPlant/comps/ppsection1/comps.plb
[170]36}
37
[374]38Preprocessor {
[1613]39        delayVisibilityComputation false
[497]40        # stored sample rays
41        samplesFilename rays.out
[1387]42        useGlRenderer true
[859]43        useGlDebugger false
[1272]44# 0 = INTERNAL          1 = MLRT
45
[1694]46        rayCastMethod 1
[1272]47       
[374]48#       type sampling
[685]49#       type vss
[859]50        type rss
51#       type render
[1583]52        detectEmptyViewSpace true
[1694]53        pvsRenderErrorSamples 0
54#       pvsRenderErrorSamples 5000
[1112]55        quitOnFinish true
[713]56        computeVisibility true
[1112]57        applyVisibilityFilter false
58        applyVisibilitySpatialFilter false
[878]59        visibilityFilterWidth   0.01
[1715]60        exportVisibility false
[878]61        visibilityFile visibility.xml
[1585]62        loadMeshes false
[1581]63        loadKdTree      false
64        exportKdTree false
[374]65}
66
[1292]67ObjParser {
[1585]68        meshGrouping 2
[1292]69}
[563]70
[811]71RenderSampler {
72        samples 10000
73}
74
[376]75
[1199]76SamplingPreprocessor {
[1292]77        totalSamples 10000000
[1199]78        samplesPerPass 1000000
79}
80
[446]81RssPreprocessor {
[1112]82        samplesPerPass 1000
[1715]83        initialSamples 2000000
[1694]84        vssSamples 50000000
85#       vssSamples 1000000
[1715]86        vssSamplesPerPass 2000000
[884]87        useImportanceSampling true
[464]88
[746]89        directionalSampling false
[492]90        objectBasedSampling false
91
[464]92        Export {
93                pvs false
94                rssTree false
[1694]95                rays false
[1112]96                numRays 2000
[464]97        }
98
[467]99        useViewcells true
[492]100        updateSubdivision true
[563]101        loadInitialSamples false
[497]102        storeInitialSamples false
[446]103}
104
[497]105
[446]106RssTree {
107        epsilon         1e-6
[569]108        perObjectTree false
[446]109
[1112]110        maxDepth        60
111        minPvs          1
[746]112# before vienna test it was:
113#       minRays 50
114#       splitType heuristic
115
[1199]116        minRays         100
[446]117        minSize         0.001
[1199]118        maxCostRatio 1.0
119        maxRayContribution 1.0
[1715]120        maxRays         3000000
[446]121        maxTotalMemory  200
122        maxStaticMemory 100
123
[1272]124#       splitType regular
[1199]125#       splitType heuristic
[1272]126        splitType hybrid
[1199]127        hybridDepth             10
[563]128        splitUseOnlyDrivingAxis false
[1199]129#false
[492]130        importanceBasedCost false
[446]131
132        interleaveDirSplits     true
[459]133    dirSplitDepth 0
[446]134
135        ct_div_ci       0.0
136}
137
[163]138Limits {
139
140       threshold        1e-6
141       small            1e-6
142       infinity         1e9
143}
144
145Unigraphics {
[176]146                meshGrouping 1
[163]147}
148
149KdTree {
[811]150        sahUseFaces false
[163]151        Termination {
[1694]152                minCost 1
[811]153                maxDepth 30
[1694]154                maxCostRatio 0.95
[170]155                ct_div_ci 0.5
[1694]156                maxNodes 200000
[878]157#500000
[163]158        }
159
160#       splitMethod spatialMedian
161        splitMethod SAH
[170]162        splitBorder 0.01
[163]163}
[170]164
[1292]165
[170]166MeshKdTree {
167        Termination {
[1292]168                minCost 150
[335]169                maxDepth 18
170                maxCostRatio 0.9
[170]171                ct_div_ci 0.5
172        }
173
174#       splitMethod spatialMedian
175        splitMethod SAH
176        splitBorder 0.01
177}
[176]178
[311]179ViewCells {
[599]180        # samples used for view cell construction
181        Construction {
[1584]182                samples 0
183                samplesPerPass 1500000
[599]184        }
185
186        #number of active view cells
[1694]187        active 20000
188        maxViewCells 20000
[599]189
[1584]190        maxStaticMemory 40
191
[1112]192        exportToFile true
[1594]193        loadFromFile true
[1584]194
[451]195        #type kdTree
[467]196        #type vspKdTree
[713]197        #type bspTree
[1694]198        type vspBspTree
199        #type vspOspTree
[451]200        #type sceneDependent
201       
[326]202        height 5.0
[599]203
[563]204        #percentage of total visible objects where pvs is considered invalid
[599]205        maxPvsRatio 1.0
[563]206               
[599]207        processOnlyValidViewCells false
[677]208
209        #stats viewCellStats.log
210
[1584]211        #samplingType directional
212        samplingType box
[677]213
[563]214        PostProcess {
[451]215                # how much samples are used for post processing
[1584]216                samples 0
[599]217                renderCostWeight 1.0
218                maxCostRatio 0.1
219                minViewCells 1
[677]220                avgCostMaxDeviation 0.01
221                maxMergesPerPass 5000
[599]222                useRaysForMerge false
223                compress false
[1694]224                merge false
[430]225        }
226
[563]227        Visualization {
[497]228                # how much samples we use for visualization
[1584]229                samples 0
[497]230                #colorCode PVS
231                #colorCode MergedLeaves
232                #colorCode MergedTreeDiff
233                colorCode Random
[859]234                exportRays false
[1584]235                exportGeometry true
[608]236                exportMergedViewCells false
[677]237                useClipPlane true
238                clipPlaneAxis 1
[1584]239                clipPlanePos  0.3
[451]240        }
[677]241
[1694]242        showVisualization false
[677]243        evaluateViewCells false
[370]244       
[677]245        Evaluation {
[1584]246                samplesPerPass 1000000
[1594]247                samples 5000000
[677]248                statsPrefix ../scripts/viewCells
[1584]249                #samplingType directional
250                samplingType box
251                histogram true
252                histoStepSize 5000
[677]253        }
254
[1694]255#       filename ../data/Arena/viewcells-5000.xml
256#       filename ../data/Arena/viewcells-20000.xml
[1608]257
[326]258#       filename ../data/atlanta/atlanta_viewcells_large.x3d
[497]259#       filename ../data/vienna/viewcells-25-sel.x3d
[335]260#       filename ../data/vienna/viewcells-25.x3d
[311]261#       filename ../data/vienna/viewcells-large-sel.x3d
[563]262#       filename ../scripts/viewcells_vienna.xml
[677]263#       filename ../scripts/viewcells_atlanta.xml
[685]264#       filename ../scripts/viewcells_soda5-2.xml
[811]265#       filename ../data/soda/soda5-viewcells.xml
[713]266#       filename ../scripts/viewcells_atlanta.xml
[1613]267#       filename ../data/soda/soda-viewcells-5000.xml
[1199]268#       filename ../data/test1/test-viewcells.xml
[1112]269
270#       filename ../data/soda/soda5-viewcell-single.xm
[1581]271#       filename ../data/soda/soda-viewcells-1000.xml.zip
[1608]272#       filename ../data/soda/soda-viewcells-vsposp.xml
273
274
[1454]275#       filename ../data/CityModel/CityModel-viewcells-5000.xml
[1387]276#       filename ../data/City4M/City4M-viewcells-5000.xml
[1112]277
278
[1594]279#       filename ../data/vienna/vsposp-seq-viewCells.xml.gz
[1581]280
[871]281#       filename ../data/atlanta/viewcells_atlanta3.xml
[1199]282
[904]283#       filename ../data/vienna/viewcells_vienna.xml
[878]284#       filename ../data/vienna/viewcells_vienna2.xml
285#       filename ../data/vienna/vienna_simple-21-04-avs2-viewCells.xml
[1715]286#       filename ../data/vienna/vienna-viewcells-20000.xml.gz
[1694]287#       filename ../data/vienna/vienna-viewcells-5000.xml.gz
[1715]288#       filename ../data/vienna/vienna-viewcells-1000.xml.zip
[1594]289#       filename ../data/vienna/vsposp-seq-viewCells.xml.gz
[1199]290
[1715]291        filename ../data/vienna/vienna_cropped-2-sequential-30000-viewcells.xml.gz
292#       filename ../data/vienna/vienna_cropped-sequential-400000-viewcells.xml.gz
293
294
[1608]295#       filename ../data/vienna/city1500_flat_viewcells-1000.xml
296#       filename ../data/vienna/city1500_flat-vsposp.xml
297#       filename ../data/vienna/vienna-simple-vsposp.xml
298
[1199]299#       filename ../data/PowerPlant/power_plant_viewcells1.xml
[311]300}
301
302
[430]303Simulation {
304        objRenderCost 1.0
[497]305        vcOverhead 1.0
306        # always between 0 and 1
307        moveSpeed 0.0001
[430]308}
309
310
[451]311VspBspTree {
312        Construction {
[1584]313                samples 500000
314                epsilon 0.0000001
[497]315                randomize false
[599]316                renderCostWeight 1.0
[451]317        }
318
319
320        # random polygon       = 1
321        # axis aligned         = 2
322        # least ray splits     = 256
323        # balanced rays        = 512
324        # pvs                  = 1024
[599]325       
[677]326        splitPlaneStrategy 1026
[451]327       
328        # maximal candidates for split planes
[1584]329        maxPolyCandidates 0
[599]330
[677]331        usePolygonSplitIfAvailable false
332
[451]333        # maximal tested rays for split cost heuristics
[599]334        maxTests 10000
[451]335       
[599]336        maxTotalMemory  50
337        maxStaticMemory 50
[677]338
339        subdivisionStats ../subdivisionStats.log
340
[451]341        # factors for evaluating split plane costs
342        Factor {
343                leastRaySplits 1.0
344                balancedRays 1.0
345                pvs 1.0
346        }
347       
[599]348        Termination {
349                # parameters used for autopartition
[677]350                minRays                 -15
[599]351                minPolygons             -1
[677]352                maxDepth                25
[1584]353                minPvs                  0
354                minProbability          0.000001
355                maxRayContribution      1
356                maxCostRatio            0.9
[677]357                missTolerance           6
358                globalCostMissTolerance 4
[1585]359                minGlobalCostRatio      0.0000001
360#               minGlobalCostRatio      0.0001
361# $$MAXVIEWCELLS
[1694]362                maxViewCells            20000
[677]363       
[599]364
365                # used for pvs criterium
366                ct_div_ci 0.0
367               
368                AxisAligned {
[677]369                        minRays                 50000
[599]370                        maxRayContribution      9.9
371                }
372        }
[451]373       
[677]374        useSplitCostQueue true
[1584]375        useCostHeuristics false
[677]376
377        splitUseOnlyDrivingAxis false
378        simulateOctree false
379        useRandomAxis false
380        usePolygonSplitIfAvailable false
[1584]381        nodePriorityQueueType 0
[677]382
383        Visualization {
384                # x3d visualization of the split planes
385                exportSplits false
386        }
387}
388
[1584]389BspTree {
390        Construction {
391                samples 100000
392                epsilon 0.005
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       
428        splitPlaneStrategy 32
429       
430        maxPolyCandidates 100
431        maxRayCandidates 0
432       
433        maxTests 10000
434       
435        subdivisionStats ../subDivisionStats.log
436
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
452                minRays -1
453                minPolygons 0
454                maxDepth 30
455                minPvs -1
456                minProbability 0.00001
457                maxRayContribution 9999
458                maxViewCells 50000
459
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
481                exportSplits false
482        }
483}
484
Note: See TracBrowser for help on using the repository browser.