Changeset 644


Ignore:
Timestamp:
02/15/06 01:00:38 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing
Files:
4 edited

Legend:

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

    r643 r644  
    189189        #type kdTree 
    190190        #type vspKdTree 
    191         #type bspTree 
    192         type vspBspTree 
     191        type bspTree 
     192        #type vspBspTree 
    193193         
    194194        #type sceneDependent 
     
    214214                refine false 
    215215                compress true 
    216                 merge true 
     216                merge false 
    217217        } 
    218218 
     
    304304         
    305305        # maximal candidates for split planes 
    306         maxPolyCandidates 0 
     306        maxPolyCandidates 100 
    307307 
    308308        usePolygonSplitIfAvailable false 
     
    331331                missTolerance           6 
    332332                 
    333                 maxViewCells            2048 
     333                maxViewCells            10000 
    334334                 
    335335                # used for pvs criterium 
     
    342342        } 
    343343         
    344         useCostHeuristics false 
     344        useCostHeuristics true 
    345345        splitUseOnlyDrivingAxis false 
    346346        usePolygonSplitIfAvailable false 
     
    354354BspTree { 
    355355        Construction { 
    356                 samples 50000 
     356                samples 500000 
    357357                epsilon 0.005 
    358358        } 
     
    420420                minProbability 0.001 
    421421                maxRayContribution 9999 
    422                 #maxAccRayLength 100 
    423                 maxViewCells    50000 
     422                maxViewCells    2048 
    424423 
    425424                # used for pvs criterium 
     
    444443        Visualization { 
    445444                # x3d visualization of the split planes 
    446                 exportSplits true 
    447         } 
    448 } 
     445                exportSplits false 
     446        } 
     447} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Ray.cpp

    r564 r644  
    171171} 
    172172 
     173 
    173174int Ray::ClassifyPlane(const Plane3 &plane,  
    174175                                           const float minT,  
     
    185186        if (entSide < 0) 
    186187        { 
    187                 if (extSide >= 0) 
     188                if (extSide > 0) 
    188189                { 
    189190                        return BACK_FRONT; 
     
    193194        else if (entSide > 0) 
    194195        { 
    195                 if (extSide <= 0) 
     196                if (extSide < 0) 
    196197                        return FRONT_BACK; 
    197198                         
     
    201202        { 
    202203                if (extSide > 0) 
    203                         return BACK_FRONT; 
     204                        return FRONT; 
    204205                else if (extSide < 0) 
    205                         return FRONT_BACK; 
     206                        return BACK; 
    206207        } 
    207208         
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp

    r613 r644  
    690690        } 
    691691 
    692  
     692        //-- empty merge queue just in case 
    693693        while (!mMergeQueue.empty()) 
    694694        { 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp

    r611 r644  
    14951495        const int frontAndBackId = ViewCell::sMailId; 
    14961496 
    1497         bool useRand;; 
     1497        bool useRand; 
    14981498        int limit; 
    14991499 
     
    17961796        } 
    17971797} 
     1798 
    17981799 
    17991800float BspTree::SplitPlaneCost(const Plane3 &candidatePlane, 
Note: See TracChangeset for help on using the changeset viewer.