source: trunk/VUT/GtpVisibilityPreprocessor/scripts/default.env @ 595

Revision 595, 7.4 KB checked in by mattausch, 18 years ago (diff)

jnkbbjnbjhbjk

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