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

Revision 1608, 9.0 KB checked in by bittner, 18 years ago (diff)

vsp osp tests

Line 
1############################################################################
2# ERS default configuration file
3# Jiri Bittner 2003
4#############################################################################
5
6Scene {
7
8#filename ../data/arena/export.obj
9
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
18#filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d
19
20# ../data/vienna/vienna-plane.x3d;
21# filename ../data/vienna/viewcells-25-sel.x3d
22#filename ../data/atlanta/atlanta2.x3d
23filename ../data/soda/soda.dat
24#filename ../data/test1/test2.x3d
25#filename ../data/soda/soda5.dat
26#filename ../data/PowerPlant/ppsection1/part_a/g0.ply
27#filename ../data/PowerPlant/ppsection1/part_b/g0.ply
28#filename ../data/PowerPlant/ppsection1.plb
29#filename ../data/PowerPlant/all.plb
30#filename ../data/PowerPlant/selection3.plb
31#filename ../data/PowerPlant/section10.plb;../data/PowerPlant/section14.plb
32#filename ../data/PowerPlant/selection.plb
33#filename ../data/PowerPlant/comps/ppsection1/comps.plb
34}
35
36Preprocessor {
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 10000000
82        vssSamplesPerPass 1000000
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.0
151                ct_div_ci 0.5
152                maxNodes 300000
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
386        # random polygon       = 1
387        # axis aligned         = 2
388        # least splits         = 4
389        # balanced polygons    = 8
390        # balanced view cells  = 16
391        # largest polygon area = 32
392        # vertical axis        = 64
393        # blocked rays         = 128
394        # least ray splits     = 256
395        # balanced rays        = 512
396        # pvs                  = 1024
397
398        # least splits + balanced polygons
399        #splitPlaneStrategy 12
400       
401        #axis aligned + vertical axis
402        #splitPlaneStrategy 66
403       
404        # axis aligned + balanced view cells
405        # splitPlaneStrategy 18
406       
407        # largest polygon area
408        #splitPlaneStrategy 32
409       
410        # axus aligned + balanced polygons
411        #splitPlaneStrategy 72
412       
413        # axis aligned + blocked rays
414        #splitPlaneStrategy 130
415       
416        #splitPlaneStrategy 384
417        #splitPlaneStrategy 130
418       
419        splitPlaneStrategy 32
420       
421        maxPolyCandidates 100
422        maxRayCandidates 0
423       
424        maxTests 10000
425       
426        subdivisionStats ../subDivisionStats.log
427
428        # factors for evaluating split plane costs
429        Factor {
430                verticalSplits 1.0
431                largestPolyArea 1.0
432                blockedRays 1.0
433                leastRaySplits 1.0
434                balancedRays 1.0
435                pvs 1.0
436                leastSplits 1.0
437                balancedPolys 1.0
438                balancedViewCells 1.0
439        }
440       
441        Termination {
442                # parameters used for autopartition
443                minRays -1
444                minPolygons 0
445                maxDepth 30
446                minPvs -1
447                minProbability 0.00001
448                maxRayContribution 9999
449                maxViewCells 50000
450
451                # used for pvs criterium
452                ct_div_ci 0.0
453       
454                maxCostRatio 0.9
455               
456                # axis aligned splits
457                AxisAligned {
458                        minPolys 5000
459                        minRays 500
460                        minObjects 10
461                        ct_div_ci 0.5
462                }
463        }
464       
465        AxisAligned {
466                splitBorder 0.01
467        }
468       
469       
470        Visualization {
471                # x3d visualization of the split planes
472                exportSplits false
473        }
474}
475
Note: See TracBrowser for help on using the repository browser.