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

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

added function for pvs compression

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