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

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

per object rss tree support - changes in glrenderer.cpp so tha it compiles; unix2dos on glrenderer.*

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
[504]15filename ../data/atlanta/atlanta2.x3d
[386]16# filename ../data/soda/soda.dat
[507]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
[516]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
[516]96        perObjectTree true
[446]97
98        maxDepth        40
[459]99        minPvs          3
[446]100        minRays         30
101        minSize         0.001
[492]102        maxCostRatio 1.0
103        maxRayContribution 0.5
104        maxRays         1000000
[446]105        maxTotalMemory  200
106        maxStaticMemory 100
107
[516]108        splitType regular
[446]109#       splitType heuristic
[516]110#       splitType hybrid
[492]111        splitUseOnlyDrivingAxis true
112        importanceBasedCost false
[446]113
114        interleaveDirSplits     true
[459]115    dirSplitDepth 0
[446]116
117        numberOfEndPointDomains 10000
118        ct_div_ci       0.0
119        randomize       false
120
121        refDirBoxMaxSize        0.1
122}
123
[163]124Limits {
125
126       threshold        1e-6
127       small            1e-6
128       infinity         1e9
129}
130
131Unigraphics {
[176]132                meshGrouping 1
[163]133}
134
135KdTree {
[170]136        sahUseFaces true
[163]137        Termination {
[376]138                minCost 1
[163]139                maxDepth 18
[335]140                maxCostRatio 0.9
[170]141                ct_div_ci 0.5
[163]142        }
143
144#       splitMethod spatialMedian
145        splitMethod SAH
[170]146        splitBorder 0.01
[163]147}
[170]148
149MeshKdTree {
150        Termination {
[376]151                minCost 1
[335]152                maxDepth 18
153                maxCostRatio 0.9
[170]154                ct_div_ci 0.5
155        }
156
157#       splitMethod spatialMedian
158        splitMethod SAH
159        splitBorder 0.01
160}
[176]161
162
[177]163Sampling {
[382]164        totalSamples 10000000
[365]165        samplesPerPass  3
[176]166}
[311]167
168ViewCells {
[451]169        loadFromFile false
170        #type kdTree
[467]171        #type vspKdTree
[516]172        type bspTree
173        #type vspBspTree
[335]174       
[451]175        #type sceneDependent
176       
[326]177        height 5.0
[497]178        maxViewCells 500
179        maxPvs 200
[335]180       
[497]181       
182PostProcess {
183                minPvsDif 100
[430]184                minPvs 10
185                maxPvs 150
[451]186                # how much samples are used for post processing
[497]187                samples 100000
[430]188        }
189
[497]190                Visualization {
191                # how much samples we use for visualization
192                samples 5000
193                #colorCode PVS
194                #colorCode MergedLeaves
195                #colorCode MergedTreeDiff
196                colorCode Random
197                exportRays false
198                exportGeometry true
[451]199        }
[370]200       
[326]201#       filename ../data/atlanta/atlanta_viewcells_large.x3d
[497]202#       filename ../data/vienna/viewcells-25-sel.x3d
[335]203#       filename ../data/vienna/viewcells-25.x3d
[311]204#       filename ../data/vienna/viewcells-large-sel.x3d
205}
206
207
[430]208Simulation {
209        objRenderCost 1.0
[497]210        vcOverhead 1.0
211        # always between 0 and 1
212        moveSpeed 0.0001
[430]213}
214
215
216VspKdTree {
217        epsilon         1e-6
218
219        Construction {
[497]220                samples 300000
[430]221        }
222       
223        Termination {
[451]224                maxDepth                40
225                minPvs                  50
[497]226                minRays                 300
227                minSize                 0.001
228                maxCostRatio            0.9
229                missTolerance           4
230                maxRayContribution      0.5
[430]231        }
232       
[497]233        maxTotalMemory  100
234        maxStaticMemory 50
[430]235
[497]236        splitType       regular
237        #splitType      heuristics
238        splitUseOnlyDrivingAxis true
[430]239        ct_div_ci       0.0
[497]240       
241        # maximal cost for merging a view cell
242        PostProcess {
243                maxCostRatio 0.005
244                minViewCells 200
245                maxPvsSize   50000
246        }
247       
248       
249        Visualization {
250        }
[430]251}
[451]252
253VspBspTree {
254        Construction {
[497]255                samples 500000
[451]256                epsilon 0.005
[497]257                randomize false
[451]258        }
259
260
261        # random polygon       = 1
262        # axis aligned         = 2
263        # least ray splits     = 256
264        # balanced rays        = 512
265        # pvs                  = 1024
266
267        splitPlaneStrategy 1024
268       
269        # maximal candidates for split planes
[497]270        maxPolyCandidates 100
271        maxRayCandidates 100
[451]272       
273        # maximal tested rays for split cost heuristics
[497]274        maxTests 2000
[451]275       
276        # factors for evaluating split plane costs
277        Factor {
278                leastRaySplits 1.0
279                balancedRays 1.0
280                pvs 1.0
281        }
282       
283        Termination {
284                # parameters used for autopartition
[497]285                minRays                 100
286                minPolygons             -1
287                maxDepth                30
288                minPvs                  20
289                #minArea                0.0001
290                minArea                 0.000
291                maxRayContribution      0.005
292                maxCostRatio            0.9
293                missTolerance           4
294                #maxAccRayLength        100
[451]295               
[497]296                maxViewCells            20000
297               
[451]298                # used for pvs criterium
299                ct_div_ci 0.0
300        }
301       
[497]302        splitUseOnlyDrivingAxis false
[451]303       
304        Visualization {
305                # x3d visualization of the split planes
306                exportSplits true
307        }
[497]308       
309        PostProcess {
310                maxCostRatio 0.1
311                minViewCells 500
312                maxPvsSize   1000
313                useRaysForMerge true
314        }
[459]315}
Note: See TracBrowser for help on using the repository browser.