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

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

visualization of the render cost and pvs sizes for viewcells

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