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

Revision 574, 7.1 KB checked in by mattausch, 18 years ago (diff)

finished function for view cell construction
removed bsp rays from vspbspmanager

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