Changeset 1746


Ignore:
Timestamp:
11/14/06 11:25:12 (18 years ago)
Author:
bittner
Message:

scripts update

Location:
GTP/trunk/Lib/Vis/Preprocessing/scripts
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.env

    r1745 r1746  
    4040        exportKdTree false  
    4141#       exportObj true 
     42        applyVisibilityFilter false 
     43        applyVisibilitySpatialFilter false 
    4244} 
    4345 
  • GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocess_visibility.env

    r1216 r1746  
    66Scene { 
    77 
    8 # filename ../data/glasgow/glasgow1.x3d 
    9 #       filename vienna.x3d 
    10 # filename ../data/vienna/vienna-simple.x3d 
    11 #filename ../data/vienna/vienna-buildings.x3d 
    12 #filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-plane.x3d;../data/vienna/vienna-roads.x3d 
    13 # filename ../data/vienna/viewcells-25-sel.x3d 
    14 #filename ../data/atlanta/atlanta2.x3d 
    15 filename ../data/soda/soda.dat 
     8filename ../data/vienna/vienna_cropped.obj 
     9#filename ../data/soda/soda.dat 
    1610#filename ../data/soda/soda5.dat 
    17 #filename ../data/PowerPlant/ppsection1/part_a/g0.ply 
    18 #filename ../data/PowerPlant/ppsection1/part_b/g0.ply 
    19 #filename ../data/PowerPlant/ppsection1.plb 
    20 #filename ../data/PowerPlant/all.plb 
    21 #filename ../data/PowerPlant/selection3.plb 
    22 #filename ../data/PowerPlant/section10.plb;../data/PowerPlant/section14.plb 
    23 #filename ../data/PowerPlant/selection.plb 
    24 #filename ../data/PowerPlant/comps/ppsection1/comps.plb 
    2511} 
    2612 
    2713Preprocessor { 
     14        delayVisibilityComputation false 
    2815        # stored sample rays 
    2916        samplesFilename rays.out 
    3017        useGlRenderer false 
    3118        useGlDebugger false 
     19# 0 = INTERNAL          1 = MLRT 
     20 
     21        rayCastMethod 0 
     22         
    3223#       type sampling 
    3324#       type vss 
    3425        type rss 
    3526#       type render 
    36         detectEmptyViewSpace false 
     27        detectEmptyViewSpace true 
    3728        pvsRenderErrorSamples 0 
    38 #       pvsRenderErrorSamples 1000 
    3929        quitOnFinish true 
    4030        computeVisibility true 
    41         applyVisibilityFilter   false 
    42         applyVisibilitySpatialFilter    true 
     31        applyVisibilityFilter false 
     32        applyVisibilitySpatialFilter false 
    4333        visibilityFilterWidth   0.01 
     34        exportVisibility true 
    4435        visibilityFile visibility.xml 
    45 } 
    46  
     36        loadMeshes false 
     37        loadKdTree      false 
     38        exportKdTree false 
     39} 
     40 
     41ObjParser { 
     42        meshGrouping 2 
     43} 
     44 
     45RenderSampler { 
     46        samples 10000 
     47} 
     48 
     49 
     50SamplingPreprocessor { 
     51        totalSamples 100000000 
     52        samplesPerPass 1000000 
     53} 
    4754 
    4855RssPreprocessor { 
    49         samplesPerPass 1000000 
    50         initialSamples 1000000 
    51         vssSamples 5000000 
    52         vssSamplesPerPass 1000000 
     56        samplesPerPass 1000 
     57        initialSamples 2000000 
     58        vssSamples 100000000 
     59#       vssSamples 1000000 
     60        vssSamplesPerPass 3000000 
    5361        useImportanceSampling true 
    5462 
     
    6068                rssTree false 
    6169                rays false 
    62                 numRays 20000 
     70                numRays 2000 
    6371        } 
    6472 
     
    6977} 
    7078 
    71  
    7279RssTree { 
    7380        epsilon         1e-6 
    7481        perObjectTree false 
    7582 
    76         maxDepth        40 
    77         minPvs          3 
     83        maxDepth        60 
     84        minPvs          1 
    7885# before vienna test it was: 
    7986#       minRays 50 
     
    8390        minSize         0.001 
    8491        maxCostRatio 1.0 
    85         maxRayContribution 0.5 
    86         maxRays         2000000 
     92        maxRayContribution 1.0 
     93        maxRays         3000000 
    8794        maxTotalMemory  200 
    8895        maxStaticMemory 100 
    8996 
    90         splitType regular 
     97#       splitType regular 
    9198#       splitType heuristic 
    92 #       splitType hybrid 
     99        splitType hybrid 
     100        hybridDepth             10 
    93101        splitUseOnlyDrivingAxis false 
     102#false 
    94103        importanceBasedCost false 
    95104 
     
    140149 
    141150 
    142  
    143151ViewCells { 
    144152        # samples used for view cell construction 
    145153        Construction { 
    146                 samples 100000 
    147                 samplesPerPass 100000 
    148         } 
    149  
    150         Filter { 
    151                 maxSize 5 
    152                 width  0.05 
     154                samples 0 
     155                samplesPerPass 1500000 
    153156        } 
    154157 
    155158        #number of active view cells 
    156         active 5000 
     159        active 20000 
     160        maxViewCells 20000 
     161 
    157162        maxStaticMemory 40 
    158163 
    159         exportToFile false 
     164        exportToFile true 
    160165        loadFromFile true 
    161166 
     
    163168        #type vspKdTree 
    164169        #type bspTree 
    165         type vspBspTree 
     170        #type vspBspTree 
     171        type vspOspTree 
    166172        #type sceneDependent 
    167173         
    168174        height 5.0 
    169         maxViewCells 5000 
    170175 
    171176        #percentage of total visible objects where pvs is considered invalid 
    172177        maxPvsRatio 1.0 
    173178                 
    174         pruneEmptyViewCells false 
    175179        processOnlyValidViewCells false 
    176180 
    177181        #stats viewCellStats.log 
    178182 
    179         samplingType directional 
    180         #samplingType box 
     183        #samplingType directional 
     184        samplingType box 
    181185 
    182186        PostProcess { 
    183187                # how much samples are used for post processing 
    184                 samples 100000 
     188                samples 0 
    185189                renderCostWeight 1.0 
    186190                maxCostRatio 0.1 
     
    189193                maxMergesPerPass 5000 
    190194                useRaysForMerge false 
    191                 refine false 
    192195                compress false 
    193196                merge false 
     
    196199        Visualization { 
    197200                # how much samples we use for visualization 
    198                 samples 100000 
     201                samples 0 
    199202                #colorCode PVS 
    200203                #colorCode MergedLeaves 
     
    202205                colorCode Random 
    203206                exportRays false 
    204                 exportGeometry false 
     207                exportGeometry true 
    205208                exportMergedViewCells false 
    206209                useClipPlane true 
    207210                clipPlaneAxis 1 
    208         } 
    209  
    210         showVisualization false  
     211                clipPlanePos  0.3 
     212        } 
     213 
     214        showVisualization false 
    211215        evaluateViewCells false 
    212216         
    213217        Evaluation { 
    214                 samplesPerPass 500 
    215                 samples 1000 
     218                samplesPerPass 1000000 
     219                samples 5000000 
    216220                statsPrefix ../scripts/viewCells 
    217         } 
    218  
    219 #       filename ../data/atlanta/atlanta_viewcells_large.x3d 
    220 #       filename ../data/vienna/viewcells-25-sel.x3d 
    221 #       filename ../data/vienna/viewcells-25.x3d 
    222 #       filename ../data/vienna/viewcells-large-sel.x3d 
    223 #       filename ../scripts/viewcells_vienna.xml 
    224 #       filename ../scripts/viewcells_atlanta.xml 
    225 #       filename ../scripts/viewcells_soda5-2.xml 
    226 #       filename ../data/soda/soda5-viewcells.xml 
    227 #       filename ../scripts/viewcells_atlanta.xml 
    228 #       filename ../data/soda/soda5-viewcells2.xml 
    229         filename ../data/atlanta/viewcells_atlanta3.xml 
    230 #       filename ../data/vienna/viewcells_vienna.xml 
    231 #       filename ../data/PowerPlant/power_plant_viewcells_all3.xml 
    232 } 
     221                #samplingType directional 
     222                samplingType box 
     223                histogram true 
     224                histoStepSize 5000 
     225        } 
     226 
     227        filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz 
     228} 
     229 
    233230 
    234231 
     
    239236        moveSpeed 0.0001 
    240237} 
    241  
    242  
    243 VspKdTree { 
    244         epsilon         1e-6 
    245  
    246         Construction { 
    247                 samples 500000 
    248         } 
    249          
    250         Termination { 
    251                 maxDepth                40 
    252                 minPvs                  0 
    253                 minRays                 1 
    254                 minSize                 0.001 
    255                 maxCostRatio            5.9 
    256                 maxViewCells            169 
    257                 missTolerance           4 
    258                 maxRayContribution      2.5 
    259         } 
    260          
    261         maxTotalMemory  100 
    262         maxStaticMemory 40 
    263  
    264         splitType       regular 
    265         #splitType      heuristics 
    266         splitUseOnlyDrivingAxis true 
    267         ct_div_ci       0.0 
    268          
    269         # maximal cost for merging a view cell 
    270         PostProcess { 
    271                 maxCostRatio 0.005 
    272                 minViewCells 10000 
    273                 maxPvsSize   5000 
    274         } 
    275          
    276          
    277         Visualization { 
    278         } 
    279 } 
    280  
Note: See TracChangeset for help on using the changeset viewer.