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

Revision 749, 8.2 KB checked in by bittner, 18 years ago (diff)

ply parser support

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