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

Revision 513, 6.7 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  500000
31        initialSamples 200000
32        vssSamples 200000
33        vssSamplesPerPass 100000
34        useImportanceSampling true
35        loadInitialSamples  false
36        storeInitialSamples false
37        useViewSpaceBox true
38}
39
40
41SamplingPreprocessor {
42        totalSamples 500000
43        samplesPerPass  3
44}
45
46
47VssTree {
48        useRss    false
49        epsilon         1e-6
50
51        maxDepth        40
52        minPvs          30
53        minRays         1000
54        minSize         0.001
55        maxCostRatio    0.9
56        maxRayContribution 0.05
57       
58        maxTotalMemory  200
59        maxStaticMemory 20
60
61        splitType regular
62#       splitType heuristic
63#       splitType hybrid
64        splitUseOnlyDrivingAxis true
65
66        interleaveDirSplits     false
67    dirSplitDepth 40
68
69        numberOfEndPointDomains 10000
70        ct_div_ci       0.0
71        randomize       false
72
73        refDirBoxMaxSize        0.1
74}
75
76RssPreprocessor {
77        samplesPerPass  100000
78        initialSamples 500000
79        vssSamples 10000000
80        vssSamplesPerPass 500000
81        useImportanceSampling true
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
96        storeInitialSamples false
97}
98
99
100RssTree {
101
102        epsilon         1e-6
103
104        maxDepth        40
105        minPvs          3
106        minRays         30
107        minSize         0.001
108        maxCostRatio 1.0
109        maxRayContribution 0.5
110        maxRays         1000000
111        maxTotalMemory  200
112        maxStaticMemory 100
113
114#       splitType regular
115#       splitType heuristic
116        splitType hybrid
117        splitUseOnlyDrivingAxis true
118        importanceBasedCost false
119
120        interleaveDirSplits     true
121    dirSplitDepth 0
122
123        numberOfEndPointDomains 10000
124        ct_div_ci       0.0
125        randomize       false
126
127        refDirBoxMaxSize        0.1
128}
129
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 {
144                minCost 1
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 {
157                minCost 1
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
170ViewCells {
171        loadFromFile false
172        exportToFile true
173        #type kdTree
174        #type vspKdTree
175        #type bspTree
176        type vspBspTree
177       
178        #type sceneDependent
179       
180        height 5.0
181        maxViewCells 500
182        #percentage of total visible objects where pvs is considered invalid
183        maxPvsRatio 0.1
184               
185        PostProcess {
186                # how much samples are used for post processing
187                samples 100000
188        }
189
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
199        }
200       
201#       filename ../data/atlanta/atlanta_viewcells_large.x3d
202#       filename ../data/vienna/viewcells-25-sel.x3d
203#       filename ../data/vienna/viewcells-25.x3d
204#       filename ../data/vienna/viewcells-large-sel.x3d
205        filename ../scripts/viewcells.xml
206}
207
208
209Simulation {
210        objRenderCost 1.0
211        vcOverhead 1.0
212        # always between 0 and 1
213        moveSpeed 0.0001
214}
215
216
217VspKdTree {
218        epsilon         1e-6
219
220        Construction {
221                samples 300000
222        }
223       
224        Termination {
225                maxDepth                40
226                minPvs                  50
227                minRays                 700
228                minSize                 0.001
229                maxCostRatio            0.9
230                missTolerance           4
231                maxRayContribution      0.05
232        }
233       
234        maxTotalMemory  100
235        maxStaticMemory 50
236
237        splitType       regular
238        #splitType      heuristics
239        splitUseOnlyDrivingAxis true
240        ct_div_ci       0.0
241       
242        # maximal cost for merging a view cell
243        PostProcess {
244                maxCostRatio 0.005
245                minViewCells 200
246                maxPvsSize   50000
247        }
248       
249       
250        Visualization {
251        }
252}
253
254VspBspTree {
255        Construction {
256                samples 500000
257                epsilon 0.005
258                randomize false
259        }
260
261
262        # random polygon       = 1
263        # axis aligned         = 2
264        # least ray splits     = 256
265        # balanced rays        = 512
266        # pvs                  = 1024
267       
268        splitPlaneStrategy 1026
269       
270        # maximal candidates for split planes
271        maxPolyCandidates 100
272        maxRayCandidates 100
273       
274        # maximal tested rays for split cost heuristics
275        maxTests 10000
276       
277        # factors for evaluating split plane costs
278        Factor {
279                leastRaySplits 1.0
280                balancedRays 1.0
281                pvs 1.0
282        }
283       
284        Termination {
285                # parameters used for autopartition
286                minRays                 500
287                minPolygons             -1
288                maxDepth                30
289                minPvs                  20
290                minArea                 0.0001
291                #minArea                0.000
292                maxRayContribution      0.5
293                maxCostRatio            0.95
294                missTolerance           5
295                #maxAccRayLength        100
296               
297                maxViewCells            200000
298               
299                # used for pvs criterium
300                ct_div_ci 0.0
301               
302                AxisAligned {
303                        minRays                 2000
304                        maxRayContribution      0.5
305                }
306        }
307       
308        splitUseOnlyDrivingAxis false
309       
310        Visualization {
311                # x3d visualization of the split planes
312                exportSplits true
313        }
314       
315        PostProcess {
316                maxCostRatio 0.1
317                minViewCells 200
318                maxPvsSize   1000
319                useRaysForMerge true
320        }
321}
322
323BspTree {
324        Construction {
325                samples 50000
326                epsilon 0.005
327        }
328
329
330        # random polygon       = 1
331        # axis aligned         = 2
332        # least splits         = 4
333        # balanced polygons    = 8
334        # balanced view cells  = 16
335        # largest polygon area = 32
336        # vertical axis        = 64
337        # blocked rays         = 128
338        # least ray splits     = 256
339        # balanced rays        = 512
340        # pvs                  = 1024
341
342        # least splits + balanced polygons
343        #splitPlaneStrategy 12
344       
345        #axis aligned + vertical axis
346        #splitPlaneStrategy 66
347       
348        # axis aligned + balanced view cells
349        # splitPlaneStrategy 18
350       
351        # largest polygon area
352        #splitPlaneStrategy 32
353       
354        # axus aligned + balanced polygons
355        #splitPlaneStrategy 72
356       
357        # axis aligned + blocked rays
358        #splitPlaneStrategy 130
359       
360        #splitPlaneStrategy 384
361        #splitPlaneStrategy 130
362       
363        splitPlaneStrategy 1024
364       
365        maxPolyCandidates 50
366        maxRayCandidates 50
367       
368        maxTests 10000
369       
370        # factors for evaluating split plane costs
371        Factor {
372                verticalSplits 1.0
373                largestPolyArea 1.0
374                blockedRays 1.0
375                leastRaySplits 1.0
376                balancedRays 1.0
377                pvs 1.0
378                leastSplits 1.0
379                balancedPolys 1.0
380                balancedViewCells 1.0
381        }
382       
383        Termination {
384                # parameters used for autopartition
385                minRays 200
386                minPolygons -1
387                maxDepth 40
388                minPvs 100
389                minArea 0.01
390                maxRayContribution 0.005
391                #maxAccRayLength 100
392               
393                # used for pvs criterium
394                ct_div_ci 0.0
395       
396                maxCostRatio 0.9
397               
398                # axis aligned splits
399                AxisAligned {
400                        minPolys 5000
401                        minRays 500
402                        minObjects 10
403                        ct_div_ci 0.5
404                }
405        }
406       
407        AxisAligned {
408                splitBorder 0.01
409        }
410       
411       
412        Visualization {
413                # x3d visualization of the split planes
414                exportSplits true
415        }
416}
Note: See TracBrowser for help on using the repository browser.