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

Revision 1900, 9.7 KB checked in by bittner, 18 years ago (diff)

experiments with different contribution computations

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