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

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