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

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