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

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

updated vspkdtree for regular sudbivision

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
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 169
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 1.0
208                maxCostRatio 0.1
209                minViewCells 1
210                avgCostMaxDeviation 0.8
211                maxMergesPerPass 500
212                useRaysForMerge false
213                refine false
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                  0
256                minRays                 1
257                minSize                 0.001
258                maxCostRatio            5.9
259                maxViewCells            169
260                missTolerance           4
261                maxRayContribution      2.5
262        }
263       
264        maxTotalMemory  100
265        maxStaticMemory 40
266
267        splitType       regular
268        #splitType      heuristics
269        splitUseOnlyDrivingAxis true
270        ct_div_ci       0.0
271       
272        # maximal cost for merging a view cell
273        PostProcess {
274                maxCostRatio 0.005
275                minViewCells 10000
276                maxPvsSize   5000
277        }
278       
279       
280        Visualization {
281        }
282}
283
284VspBspTree {
285        Construction {
286                samples 300000
287                epsilon 0.005
288                randomize false
289                renderCostWeight 0.5
290        }
291
292
293        # random polygon       = 1
294        # axis aligned         = 2
295        # least ray splits     = 256
296        # balanced rays        = 512
297        # pvs                  = 1024
298       
299        splitPlaneStrategy 1024
300       
301        # maximal candidates for split planes
302        maxPolyCandidates 100
303        #maxRayCandidates 100
304       
305        # maximal tested rays for split cost heuristics
306        maxTests 10000
307       
308        maxTotalMemory  50
309        maxStaticMemory 50
310       
311        # factors for evaluating split plane costs
312        Factor {
313                leastRaySplits 1.0
314                balancedRays 1.0
315                pvs 1.0
316        }
317       
318        Termination {
319                # parameters used for autopartition
320                minRays                 150
321                minPolygons             -1
322                maxDepth                30
323                minPvs                  10
324                #minProbability         0.0001
325                minProbability          -1
326                maxRayContribution      0.3
327                maxCostRatio            0.9
328                missTolerance           3
329                #maxAccRayLength        100
330               
331                maxViewCells            5000
332               
333                # used for pvs criterium
334                ct_div_ci 0.0
335               
336                AxisAligned {
337                        minRays                 4000
338                        maxRayContribution      0.5
339                }
340        }
341       
342        splitUseOnlyDrivingAxis false
343       
344        Visualization {
345                # x3d visualization of the split planes
346                exportSplits true
347        }
348}
349
350BspTree {
351        Construction {
352                samples 50000
353                epsilon 0.005
354        }
355
356
357        # random polygon       = 1
358        # axis aligned         = 2
359        # least splits         = 4
360        # balanced polygons    = 8
361        # balanced view cells  = 16
362        # largest polygon area = 32
363        # vertical axis        = 64
364        # blocked rays         = 128
365        # least ray splits     = 256
366        # balanced rays        = 512
367        # pvs                  = 1024
368
369        # least splits + balanced polygons
370        #splitPlaneStrategy 12
371       
372        #axis aligned + vertical axis
373        #splitPlaneStrategy 66
374       
375        # axis aligned + balanced view cells
376        # splitPlaneStrategy 18
377       
378        # largest polygon area
379        #splitPlaneStrategy 32
380       
381        # axus aligned + balanced polygons
382        #splitPlaneStrategy 72
383       
384        # axis aligned + blocked rays
385        #splitPlaneStrategy 130
386       
387        #splitPlaneStrategy 384
388        #splitPlaneStrategy 130
389       
390        splitPlaneStrategy 32
391       
392        maxPolyCandidates 100
393        maxRayCandidates 0
394       
395        maxTests 10000
396       
397        # factors for evaluating split plane costs
398        Factor {
399                verticalSplits 1.0
400                largestPolyArea 1.0
401                blockedRays 1.0
402                leastRaySplits 1.0
403                balancedRays 1.0
404                pvs 1.0
405                leastSplits 1.0
406                balancedPolys 1.0
407                balancedViewCells 1.0
408        }
409       
410        Termination {
411                # parameters used for autopartition
412                minRays -1
413                minPolygons 1
414                maxDepth 30
415                minPvs -1
416                minProbability 0.001
417                maxRayContribution 9999
418                #maxAccRayLength 100
419                maxViewCells    5000
420
421                # used for pvs criterium
422                ct_div_ci 0.0
423       
424                maxCostRatio 0.9
425               
426                # axis aligned splits
427                AxisAligned {
428                        minPolys 5000
429                        minRays 500
430                        minObjects 10
431                        ct_div_ci 0.5
432                }
433        }
434       
435        AxisAligned {
436                splitBorder 0.01
437        }
438       
439       
440        Visualization {
441                # x3d visualization of the split planes
442                exportSplits true
443        }
444}
Note: See TracBrowser for help on using the repository browser.