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

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

mesh inntersection bug fixed

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