source: GTP/trunk/Lib/Vis/Preprocessing/scripts/demo1.env @ 2676

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