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

Revision 595, 7.4 KB checked in by mattausch, 18 years ago (diff)

jnkbbjnbjhbjk

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