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

Revision 520, 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  100000
31        initialSamples 300000
32        vssSamples 1000000
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 false
173        #type kdTree
174        #type vspKdTree
175        #type bspTree
176        type vspBspTree
177       
178        #type sceneDependent
179       
180        height 5.0
181        maxViewCells 100
182        #percentage of total visible objects where pvs is considered invalid
183        maxPvsRatio 1
184               
185        delayedConstruction true
186               
187               
188        PostProcess {
189                # how much samples are used for post processing
190                samples 100000
191        }
192
193        Visualization {
194                # how much samples we use for visualization
195                samples 5000
196                #colorCode PVS
197                #colorCode MergedLeaves
198                #colorCode MergedTreeDiff
199                colorCode Random
200                exportRays false
201                exportGeometry true
202        }
203       
204#       filename ../data/atlanta/atlanta_viewcells_large.x3d
205#       filename ../data/vienna/viewcells-25-sel.x3d
206#       filename ../data/vienna/viewcells-25.x3d
207#       filename ../data/vienna/viewcells-large-sel.x3d
208        filename ../scripts/viewcells_soda.xml
209}
210
211
212Simulation {
213        objRenderCost 1.0
214        vcOverhead 1.0
215        # always between 0 and 1
216        moveSpeed 0.0001
217}
218
219
220VspKdTree {
221        epsilon         1e-6
222
223        Construction {
224                samples 300000
225        }
226       
227        Termination {
228                maxDepth                40
229                minPvs                  50
230                minRays                 700
231                minSize                 0.001
232                maxCostRatio            0.9
233                missTolerance           4
234                maxRayContribution      0.05
235        }
236       
237        maxTotalMemory  100
238        maxStaticMemory 50
239
240        splitType       regular
241        #splitType      heuristics
242        splitUseOnlyDrivingAxis true
243        ct_div_ci       0.0
244       
245        # maximal cost for merging a view cell
246        PostProcess {
247                maxCostRatio 0.005
248                minViewCells 6000
249                maxPvsSize   50000
250        }
251       
252       
253        Visualization {
254        }
255}
256
257VspBspTree {
258        Construction {
259                samples 500000
260                epsilon 0.005
261                randomize false
262        }
263
264
265        # random polygon       = 1
266        # axis aligned         = 2
267        # least ray splits     = 256
268        # balanced rays        = 512
269        # pvs                  = 1024
270       
271        splitPlaneStrategy 1024
272       
273        # maximal candidates for split planes
274        maxPolyCandidates 100
275        #maxRayCandidates 100
276       
277        # maximal tested rays for split cost heuristics
278        maxTests 10000
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
289                minRays                 1500
290                minPolygons             -1
291                maxDepth                30
292                minPvs                  10
293                minArea                 0.0001
294                #minArea                0.000
295                maxRayContribution      0.05
296                maxCostRatio            0.9
297                missTolerance           2
298                #maxAccRayLength        100
299               
300                maxViewCells            200000
301               
302                # used for pvs criterium
303                ct_div_ci 0.0
304               
305                AxisAligned {
306                        minRays                 200000
307                        maxRayContribution      0.5
308                }
309        }
310       
311        splitUseOnlyDrivingAxis false
312       
313        Visualization {
314                # x3d visualization of the split planes
315                exportSplits true
316        }
317       
318        PostProcess {
319                maxCostRatio 0.1
320                minViewCells 150
321                maxPvsSize   1000
322                useRaysForMerge true
323        }
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
418        }
419}
Note: See TracBrowser for help on using the repository browser.