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

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

temporary version, rss preprocessor not functional

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