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

Revision 1613, 9.1 KB checked in by bittner, 18 years ago (diff)

kd-tree hack active

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