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

Revision 2582, 10.1 KB checked in by bittner, 16 years ago (diff)

Havran Ray Caster compiles and links, but still does not work

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