source: GTP/trunk/Lib/Vis/Preprocessing/src/default.env @ 685

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