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

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