source: trunk/VUT/GtpVisibilityPreprocessor/src/default.env @ 502

Revision 502, 4.9 KB checked in by bittner, 19 years ago (diff)

bsp viewcell location

RevLine 
[163]1#############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
[170]5
6Scene {
7
[311]8#       filename glasgow1.x3d
9#       filename vienna.x3d
[376]10# filename ../data/vienna/vienna-simple.x3d
[387]11#filename ../data/vienna/vienna-buildings.x3d
12#filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d
13#;../data/vienna/vienna-plane.x3d
[365]14# filename ../data/vienna/viewcells-25-sel.x3d
[463]15# filename ../data/atlanta/atlanta2.x3d
[386]16# filename ../data/soda/soda.dat
[492]17filename ../data/soda/soda5.dat
[170]18}
19
[374]20Preprocessor {
[497]21        # stored sample rays
22        samplesFilename rays.out
23        useGlRenderer true
[374]24#       type sampling
[502]25#       type vss
26        type rss
[374]27}
28
[376]29VssPreprocessor {
[403]30        samplesPerPass  100000
[438]31        initialSamples 500000
[497]32        vssSamples 200000
33        vssSamplesPerPass 100000
[403]34        useImportanceSampling true
[497]35        loadInitialSamples  false
36        storeInitialSamples false
[376]37}
38
[446]39
[382]40VssTree {
[435]41        useRss    false
[382]42        epsilon         1e-6
43
44        maxDepth        40
[497]45        minPvs          30
46        minRays         1000
[427]47        minSize         0.001
[497]48        maxCostRatio    0.9
[403]49        maxRayContribution 0.05
[382]50       
[427]51        maxTotalMemory  200
[497]52        maxStaticMemory 20
[382]53
[497]54        splitType regular
[434]55#       splitType heuristic
[497]56#       splitType hybrid
[434]57        splitUseOnlyDrivingAxis true
[382]58
[438]59        interleaveDirSplits     false
[446]60    dirSplitDepth 40
[438]61
[382]62        numberOfEndPointDomains 10000
63        ct_div_ci       0.0
64        randomize       false
65
66        refDirBoxMaxSize        0.1
67}
68
[446]69RssPreprocessor {
70        samplesPerPass  100000
[463]71        initialSamples 500000
[464]72        vssSamples 10000000
[492]73        vssSamplesPerPass 500000
[446]74        useImportanceSampling true
[464]75
[492]76        directionalSampling true
77        objectBasedSampling false
78
[464]79        Export {
80                pvs false
81                rssTree false
82                rays true
83                numRays 5000
84        }
85
[467]86        useViewcells true
[492]87        updateSubdivision true
[497]88loadInitialSamples true
89        storeInitialSamples false
[446]90}
91
[497]92
[446]93RssTree {
[464]94
[446]95        epsilon         1e-6
96
97        maxDepth        40
[459]98        minPvs          3
[446]99        minRays         30
100        minSize         0.001
[492]101        maxCostRatio 1.0
102        maxRayContribution 0.5
103        maxRays         1000000
[446]104        maxTotalMemory  200
105        maxStaticMemory 100
106
107#       splitType regular
108#       splitType heuristic
109        splitType hybrid
[492]110        splitUseOnlyDrivingAxis true
111        importanceBasedCost false
[446]112
113        interleaveDirSplits     true
[459]114    dirSplitDepth 0
[446]115
116        numberOfEndPointDomains 10000
117        ct_div_ci       0.0
118        randomize       false
119
120        refDirBoxMaxSize        0.1
121}
122
[163]123Limits {
124
125       threshold        1e-6
126       small            1e-6
127       infinity         1e9
128}
129
130Unigraphics {
[176]131                meshGrouping 1
[163]132}
133
134KdTree {
[170]135        sahUseFaces true
[163]136        Termination {
[376]137                minCost 1
[163]138                maxDepth 18
[335]139                maxCostRatio 0.9
[170]140                ct_div_ci 0.5
[163]141        }
142
143#       splitMethod spatialMedian
144        splitMethod SAH
[170]145        splitBorder 0.01
[163]146}
[170]147
148MeshKdTree {
149        Termination {
[376]150                minCost 1
[335]151                maxDepth 18
152                maxCostRatio 0.9
[170]153                ct_div_ci 0.5
154        }
155
156#       splitMethod spatialMedian
157        splitMethod SAH
158        splitBorder 0.01
159}
[176]160
161
[177]162Sampling {
[382]163        totalSamples 10000000
[365]164        samplesPerPass  3
[176]165}
[311]166
167ViewCells {
[451]168        loadFromFile false
169        #type kdTree
[467]170        #type vspKdTree
[502]171        type bspTree
172        #type vspBspTree
[335]173       
[451]174        #type sceneDependent
175       
[326]176        height 5.0
[497]177        maxViewCells 500
178        maxPvs 200
[335]179       
[497]180       
181PostProcess {
182                minPvsDif 100
[430]183                minPvs 10
184                maxPvs 150
[451]185                # how much samples are used for post processing
[497]186                samples 100000
[430]187        }
188
[497]189                Visualization {
190                # how much samples we use for visualization
191                samples 5000
192                #colorCode PVS
193                #colorCode MergedLeaves
194                #colorCode MergedTreeDiff
195                colorCode Random
196                exportRays false
197                exportGeometry true
[451]198        }
[370]199       
[326]200#       filename ../data/atlanta/atlanta_viewcells_large.x3d
[497]201#       filename ../data/vienna/viewcells-25-sel.x3d
[335]202#       filename ../data/vienna/viewcells-25.x3d
[311]203#       filename ../data/vienna/viewcells-large-sel.x3d
204}
205
206
[430]207Simulation {
208        objRenderCost 1.0
[497]209        vcOverhead 1.0
210        # always between 0 and 1
211        moveSpeed 0.0001
[430]212}
213
214
215VspKdTree {
216        epsilon         1e-6
217
218        Construction {
[497]219                samples 300000
[430]220        }
221       
222        Termination {
[451]223                maxDepth                40
224                minPvs                  50
[497]225                minRays                 300
226                minSize                 0.001
227                maxCostRatio            0.9
228                missTolerance           4
229                maxRayContribution      0.5
[430]230        }
231       
[497]232        maxTotalMemory  100
233        maxStaticMemory 50
[430]234
[497]235        splitType       regular
236        #splitType      heuristics
237        splitUseOnlyDrivingAxis true
[430]238        ct_div_ci       0.0
[497]239       
240        # maximal cost for merging a view cell
241        PostProcess {
242                maxCostRatio 0.005
243                minViewCells 200
244                maxPvsSize   50000
245        }
246       
247       
248        Visualization {
249        }
[430]250}
[451]251
252VspBspTree {
253        Construction {
[497]254                samples 500000
[451]255                epsilon 0.005
[497]256                randomize false
[451]257        }
258
259
260        # random polygon       = 1
261        # axis aligned         = 2
262        # least ray splits     = 256
263        # balanced rays        = 512
264        # pvs                  = 1024
265
266        splitPlaneStrategy 1024
267       
268        # maximal candidates for split planes
[497]269        maxPolyCandidates 100
270        maxRayCandidates 100
[451]271       
272        # maximal tested rays for split cost heuristics
[497]273        maxTests 2000
[451]274       
275        # factors for evaluating split plane costs
276        Factor {
277                leastRaySplits 1.0
278                balancedRays 1.0
279                pvs 1.0
280        }
281       
282        Termination {
283                # parameters used for autopartition
[497]284                minRays                 100
285                minPolygons             -1
286                maxDepth                30
287                minPvs                  20
288                #minArea                0.0001
289                minArea                 0.000
290                maxRayContribution      0.005
291                maxCostRatio            0.9
292                missTolerance           4
293                #maxAccRayLength        100
[451]294               
[497]295                maxViewCells            20000
296               
[451]297                # used for pvs criterium
298                ct_div_ci 0.0
299        }
300       
[497]301        splitUseOnlyDrivingAxis false
[451]302       
303        Visualization {
304                # x3d visualization of the split planes
305                exportSplits true
306        }
[497]307       
308        PostProcess {
309                maxCostRatio 0.1
310                minViewCells 500
311                maxPvsSize   1000
312                useRaysForMerge true
313        }
[459]314}
Note: See TracBrowser for help on using the repository browser.