Ignore:
Timestamp:
12/02/05 20:38:01 (19 years ago)
Author:
mattausch
Message:

Added VspBspTree? functionality:
This is a view space partitioning specialised BSPtree.
There are no polygon splits, but we split the sample rays.
The candidates for the next split plane are evaluated only
by checking the sampled visibility information.
The polygons are employed merely as candidates for the next split planes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/scripts/default.env

    r444 r445  
    102102        #type kdTree 
    103103        #type vspTree 
    104         type bspTree 
     104        #type bspTree 
     105        type vspBspTree 
     106         
    105107        #type sceneDependent 
    106108         
     
    112114                minPvs 10 
    113115                maxPvs 150 
     116                # how much samples are used for post processing 
    114117                samples 10 
    115118        } 
    116119 
     120        Visualization { 
     121                # how much samples are be used for visualization 
     122                samples 90000 
     123        } 
    117124         
    118125#       filename ../data/atlanta/atlanta_viewcells_large.x3d 
     
    176183                leastRaySplits 1.0 
    177184                balancedRays 1.0 
    178                 pvsFactor 1.0 
     185                pvs 1.0 
    179186                leastSplits 1.0 
    180187                balancedPolys 1.0 
     
    213220                # x3d visualization of the split planes 
    214221                exportSplits true 
    215                 # how much samples should be used in visualization 
    216                 samples 90000 
    217222        } 
    218223} 
     
    270275        ct_div_ci       0.0 
    271276} 
     277 
     278VspBspTree { 
     279        Construction { 
     280                samples 200000 
     281                sideTolerance 0.005 
     282        } 
     283 
     284 
     285        # random polygon       = 1 
     286        # axis aligned         = 2 
     287        # least ray splits     = 256 
     288        # balanced rays        = 512 
     289        # pvs                  = 1024 
     290 
     291        splitPlaneStrategy 1024 
     292         
     293        # maximal candidates for split planes 
     294        maxPolyCandidates 50 
     295        maxRayCandidates 50 
     296         
     297        # maximal tested rays for split cost heuristics 
     298        maxTests 10000 
     299         
     300        # factors for evaluating split plane costs 
     301        Factor { 
     302                leastRaySplits 1.0 
     303                balancedRays 1.0 
     304                pvs 1.0 
     305        } 
     306         
     307        Termination { 
     308                # parameters used for autopartition 
     309                minRays 200 
     310                minPolygons -1 
     311                maxDepth 50 
     312                minPvs 100 
     313                minArea 0.01 
     314                maxRayContribution 0.005 
     315                #maxAccRayLength 100 
     316                 
     317                # used for pvs criterium 
     318                ct_div_ci 0.0 
     319         
     320                # axis aligned splits 
     321                AxisAligned { 
     322                        minPolys 5000 
     323                        minRays 500 
     324                        minObjects 10 
     325                        maxCostRatio 0.9 
     326                        ct_div_ci 0.5 
     327                } 
     328        } 
     329         
     330        AxisAligned { 
     331                splitBorder 0.01 
     332        } 
     333         
     334         
     335        Visualization { 
     336                # x3d visualization of the split planes 
     337                exportSplits true 
     338        } 
     339} 
Note: See TracChangeset for help on using the changeset viewer.