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

Revision 582, 7.2 KB checked in by mattausch, 18 years ago (diff)

fixed bug in mergueue to find root of merge and sort out doube view cells

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