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

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

renderer changes

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
13filename ../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 0.95
146                maxDepth 30
147                maxCostRatio 0.98
148                ct_div_ci 0.5
149                maxNodes 100000
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
172
173
174
175
176
177ViewCells {
178        # samples used for view cell construction
179        Construction {
180                samples 0
181                samplesPerPass 1500000
182        }
183
184        #number of active view cells
185        active 5000
186        maxViewCells 5000
187
188        maxStaticMemory 40
189
190        exportToFile true
191        loadFromFile false
192
193        #type kdTree
194        #type vspKdTree
195        #type bspTree
196#       type vspBspTree
197        type vspOspTree
198        #type sceneDependent
199       
200        height 5.0
201
202        #percentage of total visible objects where pvs is considered invalid
203        maxPvsRatio 1.0
204               
205        processOnlyValidViewCells false
206
207        #stats viewCellStats.log
208
209        #samplingType directional
210        samplingType box
211
212        PostProcess {
213                # how much samples are used for post processing
214                samples 0
215                renderCostWeight 1.0
216                maxCostRatio 0.1
217                minViewCells 1
218                avgCostMaxDeviation 0.01
219                maxMergesPerPass 5000
220                useRaysForMerge false
221                compress false
222                merge true
223        }
224
225        Visualization {
226                # how much samples we use for visualization
227                samples 0
228                #colorCode PVS
229                #colorCode MergedLeaves
230                #colorCode MergedTreeDiff
231                colorCode Random
232                exportRays false
233                exportGeometry true
234                exportMergedViewCells false
235                useClipPlane true
236                clipPlaneAxis 1
237                clipPlanePos  0.3
238        }
239
240        showVisualization true
241        evaluateViewCells false
242       
243        Evaluation {
244                samplesPerPass 1000000
245                samples 1000000
246                statsPrefix ../scripts/viewCells
247                #samplingType directional
248                samplingType box
249                histogram true
250                histoStepSize 5000
251        }
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/CityModel/CityModel-viewcells-5000.xml
268#       filename ../data/City4M/City4M-viewcells-5000.xml
269
270
271        filename ../data/vienna/vsposp-seq-viewCells.xml.gz
272
273#       filename ../data/atlanta/viewcells_atlanta3.xml
274
275#       filename ../data/vienna/viewcells_vienna.xml
276#       filename ../data/vienna/viewcells_vienna2.xml
277#       filename ../data/vienna/vienna_simple-21-04-avs2-viewCells.xml
278#       filename ../data/vienna/vienna-viewcells-5000.xml
279#       filename ../data/vienna/vienna-viewcells-1000.xml.zip
280        filename ../data/vienna/vsposp-seq-viewCells.xml.gz
281
282#       filename ../data/PowerPlant/power_plant_viewcells1.xml
283}
284
285
286Simulation {
287        objRenderCost 1.0
288        vcOverhead 1.0
289        # always between 0 and 1
290        moveSpeed 0.0001
291}
292
293
294VspBspTree {
295        Construction {
296                samples 500000
297                epsilon 0.0000001
298                randomize false
299                renderCostWeight 1.0
300        }
301
302
303        # random polygon       = 1
304        # axis aligned         = 2
305        # least ray splits     = 256
306        # balanced rays        = 512
307        # pvs                  = 1024
308       
309        splitPlaneStrategy 1026
310       
311        # maximal candidates for split planes
312        maxPolyCandidates 0
313
314        usePolygonSplitIfAvailable false
315
316        # maximal tested rays for split cost heuristics
317        maxTests 10000
318       
319        maxTotalMemory  50
320        maxStaticMemory 50
321
322        subdivisionStats ../subdivisionStats.log
323
324        # factors for evaluating split plane costs
325        Factor {
326                leastRaySplits 1.0
327                balancedRays 1.0
328                pvs 1.0
329        }
330       
331        Termination {
332                # parameters used for autopartition
333                minRays                 -15
334                minPolygons             -1
335                maxDepth                25
336                minPvs                  0
337                minProbability          0.000001
338                maxRayContribution      1
339                maxCostRatio            0.9
340                missTolerance           6
341                globalCostMissTolerance 4
342                minGlobalCostRatio      0.0000001
343#               minGlobalCostRatio      0.0001
344# $$MAXVIEWCELLS
345                maxViewCells            5000
346       
347
348                # used for pvs criterium
349                ct_div_ci 0.0
350               
351                AxisAligned {
352                        minRays                 50000
353                        maxRayContribution      9.9
354                }
355        }
356       
357        useSplitCostQueue true
358        useCostHeuristics false
359
360        splitUseOnlyDrivingAxis false
361        simulateOctree false
362        useRandomAxis false
363        usePolygonSplitIfAvailable false
364        nodePriorityQueueType 0
365
366        Visualization {
367                # x3d visualization of the split planes
368                exportSplits false
369        }
370}
371
372BspTree {
373        Construction {
374                samples 100000
375                epsilon 0.005
376        }
377
378
379        # random polygon       = 1
380        # axis aligned         = 2
381        # least splits         = 4
382        # balanced polygons    = 8
383        # balanced view cells  = 16
384        # largest polygon area = 32
385        # vertical axis        = 64
386        # blocked rays         = 128
387        # least ray splits     = 256
388        # balanced rays        = 512
389        # pvs                  = 1024
390
391        # least splits + balanced polygons
392        #splitPlaneStrategy 12
393       
394        #axis aligned + vertical axis
395        #splitPlaneStrategy 66
396       
397        # axis aligned + balanced view cells
398        # splitPlaneStrategy 18
399       
400        # largest polygon area
401        #splitPlaneStrategy 32
402       
403        # axus aligned + balanced polygons
404        #splitPlaneStrategy 72
405       
406        # axis aligned + blocked rays
407        #splitPlaneStrategy 130
408       
409        #splitPlaneStrategy 384
410        #splitPlaneStrategy 130
411       
412        splitPlaneStrategy 32
413       
414        maxPolyCandidates 100
415        maxRayCandidates 0
416       
417        maxTests 10000
418       
419        subdivisionStats ../subDivisionStats.log
420
421        # factors for evaluating split plane costs
422        Factor {
423                verticalSplits 1.0
424                largestPolyArea 1.0
425                blockedRays 1.0
426                leastRaySplits 1.0
427                balancedRays 1.0
428                pvs 1.0
429                leastSplits 1.0
430                balancedPolys 1.0
431                balancedViewCells 1.0
432        }
433       
434        Termination {
435                # parameters used for autopartition
436                minRays -1
437                minPolygons 0
438                maxDepth 30
439                minPvs -1
440                minProbability 0.00001
441                maxRayContribution 9999
442                maxViewCells 50000
443
444                # used for pvs criterium
445                ct_div_ci 0.0
446       
447                maxCostRatio 0.9
448               
449                # axis aligned splits
450                AxisAligned {
451                        minPolys 5000
452                        minRays 500
453                        minObjects 10
454                        ct_div_ci 0.5
455                }
456        }
457       
458        AxisAligned {
459                splitBorder 0.01
460        }
461       
462       
463        Visualization {
464                # x3d visualization of the split planes
465                exportSplits false
466        }
467}
468
Note: See TracBrowser for help on using the repository browser.