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

Revision 548, 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 false
24#       type sampling
25        type vss
26#       type rss
27}
28
29VssPreprocessor {
30        samplesPerPass  100000
31        initialSamples 300000
32        vssSamples 700000
33        vssSamplesPerPass 100000
34        useImportanceSampling true
35        loadInitialSamples  false
36        storeInitialSamples false
37        useViewSpaceBox true
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         800
55        minSize         0.001
56        maxCostRatio    1.5
57        maxRayContribution 0.5
58               
59        maxTotalMemory  50
60        maxStaticMemory 20
61       
62        splitType regular
63        #       splitType heuristic
64        #       splitType hybrid
65        splitUseOnlyDrivingAxis true
66       
67        interleaveDirSplits     true
68    dirSplitDepth 0
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.9
185               
186        delayedConstruction true
187               
188               
189        PostProcess {
190                # how much samples are used for post processing
191                samples 200000
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 500000
227        }
228       
229        Termination {
230                maxDepth                40
231                minPvs                  50
232                minRays                 800
233                minSize                 0.001
234                maxCostRatio            0.9
235                missTolerance           4
236                maxRayContribution      0.5
237        }
238       
239        maxTotalMemory  100
240        maxStaticMemory 40
241
242        splitType       regular
243        #splitType      heuristics
244        splitUseOnlyDrivingAxis false
245        ct_div_ci       0.0
246       
247        # maximal cost for merging a view cell
248        PostProcess {
249                maxCostRatio 0.005
250                minViewCells 1000
251                maxPvsSize   50000
252        }
253       
254       
255        Visualization {
256        }
257}
258
259VspBspTree {
260        Construction {
261                samples 500000
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 1024
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        maxTotalMemory  50
283        maxStaticMemory 50
284       
285        # factors for evaluating split plane costs
286        Factor {
287                leastRaySplits 1.0
288                balancedRays 1.0
289                pvs 1.0
290        }
291       
292        Termination {
293                # parameters used for autopartition
294                minRays                 400
295                minPolygons             -1
296                maxDepth                30
297                minPvs                  10
298                #minProbability         0.0001
299                minProbability          -1
300                maxRayContribution      0.2
301                maxCostRatio            0.9
302                missTolerance           3
303                #maxAccRayLength        100
304               
305                maxViewCells            2501
306               
307                # used for pvs criterium
308                ct_div_ci 0.0
309               
310                AxisAligned {
311                        minRays                 4000
312                        maxRayContribution      0.5
313                }
314        }
315       
316        splitUseOnlyDrivingAxis false
317       
318        Visualization {
319                # x3d visualization of the split planes
320                exportSplits true
321        }
322       
323        PostProcess {
324                maxCostRatio 0.001
325                minViewCells 80
326                useRaysForMerge true
327        }
328}
329
330BspTree {
331        Construction {
332                samples 50000
333                epsilon 0.005
334        }
335
336
337        # random polygon       = 1
338        # axis aligned         = 2
339        # least splits         = 4
340        # balanced polygons    = 8
341        # balanced view cells  = 16
342        # largest polygon area = 32
343        # vertical axis        = 64
344        # blocked rays         = 128
345        # least ray splits     = 256
346        # balanced rays        = 512
347        # pvs                  = 1024
348
349        # least splits + balanced polygons
350        #splitPlaneStrategy 12
351       
352        #axis aligned + vertical axis
353        #splitPlaneStrategy 66
354       
355        # axis aligned + balanced view cells
356        # splitPlaneStrategy 18
357       
358        # largest polygon area
359        #splitPlaneStrategy 32
360       
361        # axus aligned + balanced polygons
362        #splitPlaneStrategy 72
363       
364        # axis aligned + blocked rays
365        #splitPlaneStrategy 130
366       
367        #splitPlaneStrategy 384
368        #splitPlaneStrategy 130
369       
370        splitPlaneStrategy 1024
371       
372        maxPolyCandidates 50
373        maxRayCandidates 50
374       
375        maxTests 10000
376       
377        # factors for evaluating split plane costs
378        Factor {
379                verticalSplits 1.0
380                largestPolyArea 1.0
381                blockedRays 1.0
382                leastRaySplits 1.0
383                balancedRays 1.0
384                pvs 1.0
385                leastSplits 1.0
386                balancedPolys 1.0
387                balancedViewCells 1.0
388        }
389       
390        Termination {
391                # parameters used for autopartition
392                minRays 200
393                minPolygons -1
394                maxDepth 40
395                minPvs 100
396                minArea 0.01
397                maxRayContribution 0.005
398                #maxAccRayLength 100
399               
400                # used for pvs criterium
401                ct_div_ci 0.0
402       
403                maxCostRatio 0.9
404               
405                # axis aligned splits
406                AxisAligned {
407                        minPolys 5000
408                        minRays 500
409                        minObjects 10
410                        ct_div_ci 0.5
411                }
412        }
413       
414        AxisAligned {
415                splitBorder 0.01
416        }
417       
418       
419        Visualization {
420                # x3d visualization of the split planes
421                exportSplits true
422        }
423}
Note: See TracBrowser for help on using the repository browser.