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

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

changed shuffling (but does not work yet...)

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