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

Revision 1867, 9.6 KB checked in by bittner, 18 years ago (diff)

merge, global lines, rss sampling updates

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