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

Revision 508, 6.6 KB checked in by mattausch, 19 years ago (diff)

implemented view cells exporting / loading
improved vsp bsp tree (only axis aligbed until a level), reuse results from Plane
testing, collectmergeneighbors
implemented view cell meshes

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        maxPvs 500
183               
184        PostProcess {
185                # how much samples are used for post processing
186                samples 100000
187        }
188
189        Visualization {
190                # how much samples we use for visualization
191                samples 5000
192                #colorCode PVS
193                #colorCode MergedLeaves
194                #colorCode MergedTreeDiff
195                colorCode Random
196                exportRays false
197                exportGeometry true
198        }
199       
200#       filename ../data/atlanta/atlanta_viewcells_large.x3d
201#       filename ../data/vienna/viewcells-25-sel.x3d
202#       filename ../data/vienna/viewcells-25.x3d
203#       filename ../data/vienna/viewcells-large-sel.x3d
204        filename ../scripts/viewcells.xml
205}
206
207
208Simulation {
209        objRenderCost 1.0
210        vcOverhead 1.0
211        # always between 0 and 1
212        moveSpeed 0.0001
213}
214
215
216VspKdTree {
217        epsilon         1e-6
218
219        Construction {
220                samples 300000
221        }
222       
223        Termination {
224                maxDepth                40
225                minPvs                  50
226                minRays                 700
227                minSize                 0.001
228                maxCostRatio            0.9
229                missTolerance           4
230                maxRayContribution      0.05
231        }
232       
233        maxTotalMemory  100
234        maxStaticMemory 50
235
236        splitType       regular
237        #splitType      heuristics
238        splitUseOnlyDrivingAxis true
239        ct_div_ci       0.0
240       
241        # maximal cost for merging a view cell
242        PostProcess {
243                maxCostRatio 0.005
244                minViewCells 200
245                maxPvsSize   50000
246        }
247       
248       
249        Visualization {
250        }
251}
252
253VspBspTree {
254        Construction {
255                samples 500000
256                epsilon 0.005
257                randomize false
258        }
259
260
261        # random polygon       = 1
262        # axis aligned         = 2
263        # least ray splits     = 256
264        # balanced rays        = 512
265        # pvs                  = 1024
266       
267        splitPlaneStrategy 1026
268       
269        # maximal candidates for split planes
270        maxPolyCandidates 100
271        maxRayCandidates 100
272       
273        # maximal tested rays for split cost heuristics
274        maxTests 10000
275       
276        # factors for evaluating split plane costs
277        Factor {
278                leastRaySplits 1.0
279                balancedRays 1.0
280                pvs 1.0
281        }
282       
283        Termination {
284                # parameters used for autopartition
285                minRays                 500
286                minPolygons             -1
287                maxDepth                30
288                minPvs                  20
289                minArea                 0.0001
290                #minArea                0.000
291                maxRayContribution      0.5
292                maxCostRatio            0.95
293                missTolerance           5
294                #maxAccRayLength        100
295               
296                maxViewCells            200000
297               
298                # used for pvs criterium
299                ct_div_ci 0.0
300               
301                AxisAligned {
302                        minRays                 2000
303                        maxRayContribution      0.5
304                }
305        }
306       
307        splitUseOnlyDrivingAxis false
308       
309        Visualization {
310                # x3d visualization of the split planes
311                exportSplits true
312        }
313       
314        PostProcess {
315                maxCostRatio 0.1
316                minViewCells 200
317                maxPvsSize   1000
318                useRaysForMerge true
319        }
320}
321
322BspTree {
323        Construction {
324                samples 50000
325                epsilon 0.005
326        }
327
328
329        # random polygon       = 1
330        # axis aligned         = 2
331        # least splits         = 4
332        # balanced polygons    = 8
333        # balanced view cells  = 16
334        # largest polygon area = 32
335        # vertical axis        = 64
336        # blocked rays         = 128
337        # least ray splits     = 256
338        # balanced rays        = 512
339        # pvs                  = 1024
340
341        # least splits + balanced polygons
342        #splitPlaneStrategy 12
343       
344        #axis aligned + vertical axis
345        #splitPlaneStrategy 66
346       
347        # axis aligned + balanced view cells
348        # splitPlaneStrategy 18
349       
350        # largest polygon area
351        #splitPlaneStrategy 32
352       
353        # axus aligned + balanced polygons
354        #splitPlaneStrategy 72
355       
356        # axis aligned + blocked rays
357        #splitPlaneStrategy 130
358       
359        #splitPlaneStrategy 384
360        #splitPlaneStrategy 130
361       
362        splitPlaneStrategy 1024
363       
364        maxPolyCandidates 50
365        maxRayCandidates 50
366       
367        maxTests 10000
368       
369        # factors for evaluating split plane costs
370        Factor {
371                verticalSplits 1.0
372                largestPolyArea 1.0
373                blockedRays 1.0
374                leastRaySplits 1.0
375                balancedRays 1.0
376                pvs 1.0
377                leastSplits 1.0
378                balancedPolys 1.0
379                balancedViewCells 1.0
380        }
381       
382        Termination {
383                # parameters used for autopartition
384                minRays 200
385                minPolygons -1
386                maxDepth 40
387                minPvs 100
388                minArea 0.01
389                maxRayContribution 0.005
390                #maxAccRayLength 100
391               
392                # used for pvs criterium
393                ct_div_ci 0.0
394       
395                maxCostRatio 0.9
396               
397                # axis aligned splits
398                AxisAligned {
399                        minPolys 5000
400                        minRays 500
401                        minObjects 10
402                        ct_div_ci 0.5
403                }
404        }
405       
406        AxisAligned {
407                splitBorder 0.01
408        }
409       
410       
411        Visualization {
412                # x3d visualization of the split planes
413                exportSplits true
414        }
415}
Note: See TracBrowser for help on using the repository browser.