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

Revision 1891, 9.7 KB checked in by bittner, 18 years ago (diff)

combined preprocessor

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