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

Revision 489, 6.1 KB checked in by mattausch, 19 years ago (diff)

valid view point regions working now for bsp view cells (crit: maxpvs)

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