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

Revision 1594, 8.7 KB checked in by bittner, 18 years ago (diff)

support for kd tree based pvs

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