Ignore:
Timestamp:
08/31/06 17:58:27 (18 years ago)
Author:
mattausch
Message:

changed hierarchy construction: up to a certain level view space split is taken

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp

    r1305 r1308  
    26042604                                                                                                   RayInfoContainer &rays) 
    26052605{        
     2606        mVspStats.Reset(); 
     2607        mVspStats.Start(); 
     2608        mVspStats.nodes = 1; 
     2609 
    26062610        // store pointer to this tree 
    26072611        VspSubdivisionCandidate::sVspTree = this; 
    2608         mVspStats.nodes = 1; 
    2609  
     2612         
    26102613        // compute view space bounding box 
    26112614        ComputeBoundingBox(sampleRays, forcedViewSpace); 
     
    26492652 
    26502653        //-- compute first split candidate 
     2654 
    26512655        VspSubdivisionCandidate *splitCandidate = new VspSubdivisionCandidate(vData); 
    26522656    EvalSubdivisionCandidate(*splitCandidate); 
     
    29692973        if (leaf->Mailed()) // leaf already mailed 
    29702974                return 0; 
    2971  
     2975         
    29722976        leaf->Mail(); 
    29732977 
Note: See TracChangeset for help on using the changeset viewer.