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

Revision 664, 7.7 KB checked in by mattausch, 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 0
180                samplesPerPass 50000
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       
195        #type sceneDependent
196       
197        height 5.0
198        maxViewCells 3000
199
200        #percentage of total visible objects where pvs is considered invalid
201        maxPvsRatio 1.0
202               
203        pruneEmptyViewCells false
204        processOnlyValidViewCells false
205
206        stats viewCellStats.log
207
208        samplingType directional
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                statsPrefix ../scripts/viewCells
223        }
224
225        Visualization {
226                # how much samples we use for visualization
227                samples 100000
228                #colorCode PVS
229                #colorCode MergedLeaves
230                #colorCode MergedTreeDiff
231                colorCode Random
232                exportRays false
233                exportGeometry true
234                exportMergedViewCells false
235                useClipPlane true
236                clipPlaneAxis 1
237        }
238
239        evaluateViewCells true
240       
241        Evaluation {
242                samplesPerPass 200000
243                samples 2000000
244        }
245
246#       filename ../data/atlanta/atlanta_viewcells_large.x3d
247#       filename ../data/vienna/viewcells-25-sel.x3d
248#       filename ../data/vienna/viewcells-25.x3d
249#       filename ../data/vienna/viewcells-large-sel.x3d
250#       filename ../scripts/viewcells_vienna.xml
251        filename ../scripts/viewcells_atlanta.xml
252}
253
254
255Simulation {
256        objRenderCost 1.0
257        vcOverhead 1.0
258        # always between 0 and 1
259        moveSpeed 0.0001
260}
261
262
263VspKdTree {
264        epsilon         1e-6
265
266        Construction {
267                samples 500000
268        }
269       
270        Termination {
271                maxDepth                40
272                minPvs                  0
273                minRays                 1
274                minSize                 0.001
275                maxCostRatio            5.9
276                maxViewCells            169
277                missTolerance           4
278                maxRayContribution      2.5
279        }
280       
281        maxTotalMemory  100
282        maxStaticMemory 40
283
284        splitType       regular
285        #splitType      heuristics
286        splitUseOnlyDrivingAxis true
287        ct_div_ci       0.0
288       
289        # maximal cost for merging a view cell
290        PostProcess {
291                maxCostRatio 0.005
292                minViewCells 10000
293                maxPvsSize   5000
294        }
295       
296       
297        Visualization {
298        }
299}
300
301VspBspTree {
302        Construction {
303                samples 300000
304                epsilon 0.0005
305                randomize false
306                renderCostWeight 1.0
307        }
308
309
310        # random polygon       = 1
311        # axis aligned         = 2
312        # least ray splits     = 256
313        # balanced rays        = 512
314        # pvs                  = 1024
315       
316        splitPlaneStrategy 1026
317       
318        # maximal candidates for split planes
319        maxPolyCandidates 100
320
321        usePolygonSplitIfAvailable false
322        # maximal tested rays for split cost heuristics
323        maxTests 10000
324       
325        maxTotalMemory  50
326        maxStaticMemory 50
327       
328        simulateOctree false
329       
330        subdivisionStats ../subDivisionStats.log
331
332        # factors for evaluating split plane costs
333        Factor {
334                leastRaySplits 1.0
335                balancedRays 1.0
336                pvs 1.0
337        }
338       
339        Termination {
340                # parameters used for autopartition
341                minRays                 -15
342                minPolygons             -1
343                maxDepth                25
344                minPvs                  -15
345                minProbability          0.00000001
346                maxRayContribution      1.8
347                maxCostRatio            1.8
348                missTolerance           6
349                globalCostMissTolerance 4
350                minGlobalCostRatio      0.0000001
351#               minGlobalCostRatio      0.0001
352                maxViewCells            40000
353       
354
355                # used for pvs criterium
356                ct_div_ci 0.0
357               
358                AxisAligned {
359                        minRays                 50000
360                        maxRayContribution      9.9
361                }
362        }
363       
364        useSplitCostQueue       false
365
366        useCostHeuristics true
367        splitUseOnlyDrivingAxis false
368        usePolygonSplitIfAvailable false
369
370        Visualization {
371                # x3d visualization of the split planes
372                exportSplits false
373        }
374}
375
376BspTree {
377        Construction {
378                samples 50000
379                epsilon 0.005
380        }
381
382
383        # random polygon       = 1
384        # axis aligned         = 2
385        # least splits         = 4
386        # balanced polygons    = 8
387        # balanced view cells  = 16
388        # largest polygon area = 32
389        # vertical axis        = 64
390        # blocked rays         = 128
391        # least ray splits     = 256
392        # balanced rays        = 512
393        # pvs                  = 1024
394
395        # least splits + balanced polygons
396        #splitPlaneStrategy 12
397       
398        #axis aligned + vertical axis
399        #splitPlaneStrategy 66
400       
401        # axis aligned + balanced view cells
402        # splitPlaneStrategy 18
403       
404        # largest polygon area
405        #splitPlaneStrategy 32
406       
407        # axus aligned + balanced polygons
408        #splitPlaneStrategy 72
409       
410        # axis aligned + blocked rays
411        #splitPlaneStrategy 130
412       
413        #splitPlaneStrategy 384
414        #splitPlaneStrategy 130
415       
416        splitPlaneStrategy 32
417       
418        maxPolyCandidates 100
419        maxRayCandidates 0
420       
421        maxTests 10000
422       
423        subdivisionStats ../subDivisionStats.log
424
425        # factors for evaluating split plane costs
426        Factor {
427                verticalSplits 1.0
428                largestPolyArea 1.0
429                blockedRays 1.0
430                leastRaySplits 1.0
431                balancedRays 1.0
432                pvs 1.0
433                leastSplits 1.0
434                balancedPolys 1.0
435                balancedViewCells 1.0
436        }
437       
438        Termination {
439                # parameters used for autopartition
440                minRays -1
441                minPolygons 1
442                maxDepth 30
443                minPvs -1
444                minProbability 0.00001
445                maxRayContribution 9999
446                maxViewCells    10000
447
448                # used for pvs criterium
449                ct_div_ci 0.0
450       
451                maxCostRatio 0.9
452               
453                # axis aligned splits
454                AxisAligned {
455                        minPolys 5000
456                        minRays 500
457                        minObjects 10
458                        ct_div_ci 0.5
459                }
460        }
461       
462        AxisAligned {
463                splitBorder 0.01
464        }
465       
466       
467        Visualization {
468                # x3d visualization of the split planes
469                exportSplits false
470        }
471}
Note: See TracBrowser for help on using the repository browser.