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

Revision 1594, 8.7 KB checked in by bittner, 18 years ago (diff)

support for kd tree based pvs

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