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

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