source: GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna.env @ 942

Revision 942, 8.4 KB checked in by mattausch, 18 years ago (diff)
Line 
1#############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7#       filename glasgow1.x3d
8#       filename vienna.x3d
9#       filename ../data/vienna/vienna-simple.x3d
10#       filename ../data/vienna/vienna-buildings.x3d
11        filename ../data/vienna/city1500_flat_1.x3d
12#       filename ../data/vienna/vienna-buildings.x3d;../data/vienna-roads.x3d;../data/vienna/vienna-roofs.x3d
13filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d
14#filename ../data/vienna/city1500_flat_1.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d
15#filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d
16#filename ../data/vienna/city1500_flat_1.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d;../data/vienna/vienna-plane.x3d
17#       filename ../data/vienna/viewcells-25-sel.x3d
18#       filename ../data/atlanta/atlanta2.x3d
19#       filename ../data/soda/soda.dat
20#       filename ../data/soda/soda5.dat
21}
22
23Preprocessor {
24        # stored sample rays
25        samplesFilename rays.out
26        useGlRenderer false
27#       type sampling
28        type vss
29#       type rss
30        detectEmptyViewSpace true
31        loadPolygonsAsMeshes false
32}
33
34VssPreprocessor {
35        samplesPerPass  100000
36        initialSamples 0
37        vssSamples 0
38        vssSamplesPerPass 500000
39        useImportanceSampling true
40        loadInitialSamples  false
41        storeInitialSamples false
42        useViewSpaceBox false
43#       testBeamSampling true
44}
45
46
47SamplingPreprocessor {
48        totalSamples 500000
49        samplesPerPass  3
50}
51
52
53VssTree {
54        useRss    false
55        epsilon         1e-6
56       
57        maxDepth        40
58        minPvs          30
59        minRays         800
60        minSize         0.001
61        maxCostRatio    1.5
62        maxRayContribution 0.5
63               
64        maxTotalMemory  50
65        maxStaticMemory 20
66       
67        splitType regular
68        #       splitType heuristic
69        #       splitType hybrid
70        splitUseOnlyDrivingAxis true
71       
72        interleaveDirSplits     true
73    dirSplitDepth 0
74       
75        numberOfEndPointDomains 10000
76        ct_div_ci       0.0
77        randomize       false
78       
79        refDirBoxMaxSize        0.1
80}
81
82RssPreprocessor {
83        samplesPerPass  100000
84        #initialSamples 500000
85        #vssSamples 10000000
86        #for view cell construction
87        initialSamples 0
88        vssSamples 0
89        vssSamplesPerPass 500000
90        useImportanceSampling true
91
92        directionalSampling true
93        objectBasedSampling false
94
95        Export {
96                pvs false
97                rssTree false
98                rays true
99                numRays 5000
100        }
101
102        useViewcells true
103        updateSubdivision true
104        loadInitialSamples false
105        storeInitialSamples false
106}
107
108
109RssTree {
110
111        epsilon         1e-6
112
113        maxDepth        40
114        minPvs          3
115        minRays         30
116        minSize         0.001
117        maxCostRatio 1.0
118        maxRayContribution 0.5
119        maxRays         1000000
120        maxTotalMemory  200
121        maxStaticMemory 100
122
123#       splitType regular
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 {
147                meshGrouping 1
148}
149
150KdTree {
151        sahUseFaces true
152        Termination {
153                minCost 1
154                maxDepth 18
155                maxCostRatio 0.9
156                ct_div_ci 0.5
157        }
158
159#       splitMethod spatialMedian
160        splitMethod SAH
161        splitBorder 0.01
162}
163
164MeshKdTree {
165        Termination {
166                minCost 1
167                maxDepth 18
168                maxCostRatio 0.9
169                ct_div_ci 0.5
170        }
171
172#       splitMethod spatialMedian
173        splitMethod SAH
174        splitBorder 0.01
175}
176
177
178
179ViewCells {
180        # samples used for view cell construction
181        Construction {
182                samples 0
183                samplesPerPass 1500000
184        }
185
186        #number of active view cells
187        active 200000
188        maxStaticMemory 40
189
190        exportToFile true
191        loadFromFile false
192
193        #type kdTree
194        #type vspKdTree
195        #type bspTree
196        type vspBspTree
197        #type sceneDependent
198       
199        height 5.0
200        maxViewCells 3000
201
202        #percentage of total visible objects where pvs is considered invalid
203        maxPvsRatio 1.0
204               
205        pruneEmptyViewCells false
206        processOnlyValidViewCells false
207
208        #stats viewCellStats.log
209
210        #samplingType directional
211        samplingType box
212
213        PostProcess {
214                # how much samples are used for post processing
215                samples 0
216                renderCostWeight 1.0
217                maxCostRatio 0.1
218                minViewCells 1
219                avgCostMaxDeviation 0.01
220                maxMergesPerPass 5000
221                useRaysForMerge false
222                refine false
223                compress false
224                merge true
225                emptyViewCellsMerge false
226        }
227
228        Visualization {
229                # how much samples we use for visualization
230                samples 0
231                #colorCode PVS
232                #colorCode MergedLeaves
233                #colorCode MergedTreeDiff
234                colorCode Random
235                exportRays false
236                exportGeometry true
237                exportMergedViewCells false
238                useClipPlane true
239                clipPlaneAxis 1
240                clipPlanePos  0.3
241        }
242
243        showVisualization true
244        evaluateViewCells true
245       
246        Evaluation {
247                samplesPerPass 1000000
248                samples 1000000
249                statsPrefix ../scripts/viewCells
250                #samplingType directional
251                samplingType box
252                histogram true
253                histoPasses 5000
254        }
255
256#       filename ../data/atlanta/atlanta_viewcells_large.x3d
257#       filename ../data/vienna/viewcells-25-sel.x3d
258#       filename ../data/vienna/viewcells-25.x3d
259#       filename ../data/vienna/viewcells-large-sel.x3d
260#       filename ../scripts/viewcells_vienyena.xml
261        filename ../scripts/viewcells_atlanta.xml
262}
263
264
265Simulation {
266        objRenderCost 1.0
267        vcOverhead 1.0
268        # always between 0 and 1
269        moveSpeed 0.0001
270}
271
272
273VspKdTree {
274        epsilon         1e-6
275
276        Construction {
277                samples 500000
278        }
279       
280        Termination {
281                maxDepth                40
282                minPvs                  0
283                minRays                 1
284                minSize                 0.001
285                maxCostRatio            5.9
286                maxViewCells            169
287                missTolerance           4
288                maxRayContribution      2.5
289        }
290       
291        maxTotalMemory  100
292        maxStaticMemory 40
293
294        splitType       regular
295        #splitType      heuristics
296        splitUseOnlyDrivingAxis true
297        ct_div_ci       0.0
298       
299        PostProcess {
300                maxCostRatio 0.005
301                minViewCells 10000
302                maxPvsSize   5000
303        }
304       
305       
306        Visualization {
307        }
308}
309
310VspBspTree {
311        Construction {
312                samples 1000000
313                epsilon 0.0000001
314                randomize false
315                renderCostWeight 1.0
316        }
317
318
319        # random polygon       = 1
320        # axis aligned         = 2
321        # least ray splits     = 256
322        # balanced rays        = 512
323        # pvs                  = 1024
324       
325        splitPlaneStrategy 1026
326       
327        # maximal candidates for split planes
328        maxPolyCandidates 20
329
330        usePolygonSplitIfAvailable false
331
332        # maximal tested rays for split cost heuristics
333        maxTests 10000
334       
335        maxTotalMemory  50
336        maxStaticMemory 50
337
338        subdivisionStats ../subdivisionStats.log
339
340        # factors for evaluating split plane costs
341        Factor {
342                leastRaySplits 1.0
343                balancedRays 1.0
344                pvs 1.0
345        }
346       
347        Termination {
348                # parameters used for autopartition
349                minRays                 -15
350                minPolygons             -1
351                maxDepth                25
352                minPvs                  -15
353                minProbability          0.000001
354                maxRayContribution      1.8
355                maxCostRatio            1.8
356                missTolerance           6
357                globalCostMissTolerance 4
358                minGlobalCostRatio      0.0000001
359                #minGlobalCostRatio      0.0001
360                #maxViewCells           4096
361                maxViewCells            20000
362       
363
364                # used for pvs criterium
365                ct_div_ci 0.0
366               
367                AxisAligned {
368                        minRays                 50000
369                        maxRayContribution      9.9
370                }
371        }
372       
373        useSplitCostQueue true
374        useCostHeuristics false
375
376        splitUseOnlyDrivingAxis false
377        simulateOctree false
378        useRandomAxis false
379        usePolygonSplitIfAvailable false
380        nodePriorityQueueType 0
381
382        Visualization {
383                # x3d visualization of the split planes
384                exportSplits false
385        }
386}
387
388BspTree {
389        Construction {
390                samples 100000
391                epsilon 0.005
392        }
393
394
395        # random polygon       = 1
396        # axis aligned         = 2
397        # least splits         = 4
398        # balanced polygons    = 8
399        # balanced view cells  = 16
400        # largest polygon area = 32
401        # vertical axis        = 64
402        # blocked rays         = 128
403        # least ray splits     = 256
404        # balanced rays        = 512
405        # pvs                  = 1024
406
407        # least splits + balanced polygons
408        #splitPlaneStrategy 12
409       
410        #axis aligned + vertical axis
411        #splitPlaneStrategy 66
412       
413        # axis aligned + balanced view cells
414        # splitPlaneStrategy 18
415       
416        # largest polygon area
417        #splitPlaneStrategy 32
418       
419        # axus aligned + balanced polygons
420        #splitPlaneStrategy 72
421       
422        # axis aligned + blocked rays
423        #splitPlaneStrategy 130
424       
425        #splitPlaneStrategy 384
426        #splitPlaneStrategy 130
427       
428        splitPlaneStrategy 32
429       
430        maxPolyCandidates 100
431        maxRayCandidates 0
432       
433        maxTests 10000
434       
435        subdivisionStats ../subDivisionStats.log
436
437        # factors for evaluating split plane costs
438        Factor {
439                verticalSplits 1.0
440                largestPolyArea 1.0
441                blockedRays 1.0
442                leastRaySplits 1.0
443                balancedRays 1.0
444                pvs 1.0
445                leastSplits 1.0
446                balancedPolys 1.0
447                balancedViewCells 1.0
448        }
449       
450        Termination {
451                # parameters used for autopartition
452                minRays -1
453                minPolygons 0
454                maxDepth 30
455                minPvs -1
456                minProbability 0.00001
457                maxRayContribution 9999
458                maxViewCells 50000
459
460                # used for pvs criterium
461                ct_div_ci 0.0
462       
463                maxCostRatio 0.9
464               
465                # axis aligned splits
466                AxisAligned {
467                        minPolys 5000
468                        minRays 500
469                        minObjects 10
470                        ct_div_ci 0.5
471                }
472        }
473       
474        AxisAligned {
475                splitBorder 0.01
476        }
477       
478       
479        Visualization {
480                # x3d visualization of the split planes
481                exportSplits false
482        }
483}
Note: See TracBrowser for help on using the repository browser.